Commit Graph

175 Commits

Author SHA1 Message Date
jkh
376c4fd174 Add a -b option to make the resulting CDROM image bootable
(requires new mkisofs 1.10 port).
1997-04-13 06:43:58 +00:00
dufault
e62e4c624a Make MOD_* macros almost consistent:
Use the name argument almost the same in all LKM types.  Maintain
the current behavior for the external (e.g., modstat) name for DEV,
EXEC, and MISC types being #name ## "_mod" and SYCALL and VFS only
#name.  This is a candidate for change and I vote just the name without
the "_mod".

Change the DISPATCH macro to MOD_DISPATCH for consistency with the
other macros.

Add an LKM_ANON #define to eliminate the magic -1 and associated
signed/unsigned warnings.

Add MOD_PRIVATE to support wcd.c's poking around in the lkm structure.

Change source in tree to use the new interface.

Reviewed by:	Bruce Evans
1997-04-06 11:14:13 +00:00
jmg
9a314cee52 arg... add back the "stray" `-' (it is used by indent) 1997-04-03 00:36:26 +00:00
jmg
b26619f673 remove a stray `-' 1997-04-02 11:26:59 +00:00
mpp
74212b970b Remove some garbage text. 1997-04-02 00:09:14 +00:00
scrappy
ddb46bb17f Remove MAKEFLAGS example from /etc/make.conf...
Bruce points out that it breaks things if someone doesn't do a 'make depend',
but I just found out that it breaks 'make depend' itself :(
1997-03-31 05:26:39 +00:00
scrappy
f88ab1083b Add/document MAKEFLAGS into /etc/make.conf, using -j3 as example 1997-03-30 23:43:41 +00:00
joerg
386a690a20 top(1) has a tunable parameter for the hash size to hash the user
entries.  Mention it in make.conf.
1997-03-25 00:04:33 +00:00
mpp
36c0c94721 Use the .An macro in the AUTHOR section. 1997-03-20 16:14:21 +00:00
mpp
c945093abc Update to use the .Rv macro now that I know it exists :-). 1997-03-19 21:08:48 +00:00
asami
3426a09f7e Add ports-korean. 1997-03-06 06:18:51 +00:00
asami
02bdf35c5a Add ports-korean. 1997-03-06 06:05:22 +00:00
bde
129e9bbfe8 Synced with the C example copyright. Cosmetic except for removing
clause 3, which was removed on 1996/08/03 in the C example.
1997-02-28 10:09:09 +00:00
bde
ea979e9715 Show where the version control id should go. 1997-02-28 09:35:50 +00:00
bde
90f3dfd6d9 Changed the example copyright to be closer to the ones that we actually
use:
- don't put [your name] on a a separate line.  Most authors have shorter
  names than "The Regents of the University of California".
- don't repeat [your name].
1997-02-28 09:24:11 +00:00
mpp
91da5c1099 Remove the -lrpclib, since it causes the build of these examples
to fail.

Closes PR# 2359

Submitted by:	Pedro A M Vazquez <vazquez@IQM.Unicamp.BR>
1997-02-26 06:56:57 +00:00
peter
f173325ac8 Revert $FreeBSD$ to $Id$ 1997-02-23 09:21:14 +00:00
peter
83b3c2c161 Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
mpp
440508194b These will appear in 2.2, not 3.0.
Pointed out by: wosch
1997-02-17 16:39:53 +00:00
bde
9e8f1bd4ec Select between the generic math functions and the i387-specific ones
at runtime.

etc/make.conf:
Nuked HAVE_FPU option.

lib/msun/Makefile:
Always build the i387 objects.  Copy the i387 source files at build
time so that the i387 objects have different names.  This is simpler
than renaming the files in the cvs repository or repeating half of
bsd.lib.mk to add explicit rules.

lib/msun/src/*.c:
Renamed all functions that have an i387-specific version by adding
`__generic_' to their names.

lib/msun/src/get_hw_float.c:
New file for getting machdep.hw_float from the kernel.

sys/i386/include/asmacros.h:
Abuse the ENTRY() macro to generate jump vectors and associated code.
This works much like PIC PLT dynamic initialization.  The PIC case is
messy.  The old i387 entry points are renamed.  Renaming is easier
here because the names are given by macro expansions.
1997-02-16 18:26:31 +00:00
jmg
06b2e5746c some stylistic changes... "you name here" and "you name" to "your name"
2.2 Candidate
1997-02-14 04:16:19 +00:00
jkh
56bd74b435 Document FTP_PASSIVE_MODE in the place where I usually set it. 1997-02-13 09:07:32 +00:00
julian
e6b42ddfe1 Description of what the files in this directory do..
(create sample device drivers on request)
1997-02-02 07:35:59 +00:00
julian
bd62efe166 These two shell scripts will
create a skeleton device driver.
one for a real device and the other for a pseudo device.
they each take one argument which is the name (prefix) for the driver.

they add the new file to the /sys tree and add appropriate config files
etc for a build.

hopefully others will build on this so that we get
1/ these drivers improved and the shell scripts
improved in how/where that hook the new code in.
2/ similar tools for providing skeletons for other
modules (I'm tempted to do a VFS filesystem skeleton :)

please take a look and fix anything that maybe should be added.
they compile and link fine,
but I think I wouldn't trust them, as faar as RUNNING yet :)
(well they really wouldn't do very much being skeletons..

we need to add PCI  and EISA skeletons as well
followed by a SCSI driver skeleton.
1997-02-02 07:19:30 +00:00
jdp
2ad3971515 Update the list of CVSup mirror sites. 1997-02-01 05:40:36 +00:00
alex
a3118e8c68 Sweep through the tree fixing mmap() usage:
- Use MAP_FAILED instead of the constant -1 to indicate
    failure (required by POSIX).
  - Removed flag arguments of '0' (required by POSIX).
  - Fixed code which expected an error return of 0.
  - Fixed code which thought any address with the high bit set
    was an error.
  - Check for failure where no checks were present.

Discussed with:	bde
1997-01-16 21:58:40 +00:00
jkh
808a36ef65 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
mpp
649560e2de Update the copyright notices to match our bsd-copyright example. 1997-01-09 07:26:05 +00:00
mpp
fe9d880f17 Add some real example diagnostics to example.[14]
Add all of the possible errno's to example.3.

Show examples of the .Bx (BSD) and .At (AT&T UNIX) macros
in the various HISTORY sections.

Add some .Rs/.Re (used for referencing things other
than man pages) in the SEE ALSO sections.

Suggested by: wollman
1997-01-09 06:32:22 +00:00
wosch
d7f28ed2da printing examples, automatically generated from
src/share/doc/handbook/printing.sgml with src/tools/tools/epfe/epfe.pl
1997-01-02 22:47:46 +00:00
mpp
ae3a5816ec Correct one minor style point. 1997-01-02 21:10:30 +00:00
mpp
6ee379ab9e Moved these from /usr/share/misc/mdoc to /usr/share/examples/mdoc,
since it seemed like a better place, and the makefiles for
/usr/share/examples didn't need to be fussed with.

The old stuff can be removed from the Attic.
1997-01-02 20:37:25 +00:00
bde
df0e60daaf Use -C instead of -c for installing non-header source files. 1997-01-01 05:04:34 +00:00
mpp
0bc3622c28 Fix typo. 1996-12-28 22:28:46 +00:00
wosch
f3d6030bce a README 1996-12-28 20:38:31 +00:00
jdp
a65d4c9aae Add src-release and src-tools collections.
Inspired by:	ache
1996-12-27 04:03:06 +00:00
ache
8a8b76f982 Add missing src-release and src-tools to individual targets list 1996-12-25 01:51:53 +00:00
peter
b6b474ae72 Add commented out samples on how to activate the compat libs during build.
Note that nothing is stopping somebody from cd'ing to src/lib/compat/<dist>
and doing a 'make all install' there by hand.
1996-12-23 05:17:09 +00:00
ache
a9973bd449 cvsup client moved from sbin to bin
2.2 candidate
1996-12-16 03:37:59 +00:00
jdp
9f515f9fd2 Update the sample cvsupfiles to take advantage of the new "*default"
feature in CVSup-14.0.  You no longer need a 200-column window to look
at them.

Also did some general cleanups, and corrected some errors.

2.2 candidate.  These should be brought directly into 2.2 if at all
possible, since they correspond with the CVSup release whose port is
going to go into 2.2.
1996-12-15 00:34:52 +00:00
asami
9babd021fe Add ports-vietnamese, delete ports-distfiles. 1996-12-05 11:27:53 +00:00
wosch
72742458df removeuser moved from /usr/share/examples/removeuser to /usr/sbin/rmuser 1996-11-17 03:59:46 +00:00
jdp
1a38735f41 Correct many errors of commission and omission in the example
CVSupfiles.
1996-11-10 21:51:31 +00:00
asami
58ee8f696c Add ports-chinese and ports-mbone. 1996-11-07 12:38:48 +00:00
jkh
572a11d228 Amend the README to mention "dummy" feature. Nobody will read the
README, but at least I can say it's doc'd. :)
1996-11-06 13:54:35 +00:00
jkh
ea71174ad4 Since Joerg reminded me, make a small change to this file in
order to allow the user to also say:
	burncd mybigimage dummy

To enable a dummy burn.  Saves on blanks during testing. :)
1996-11-06 13:52:57 +00:00
joerg
3027e72f0e Minor bugfix in the cdburn example (one rtprio was missing). 1996-11-06 13:29:42 +00:00
ache
7737dfdd62 Add -z to CVSupflags, it iz safe because it is done by zlib,
not by extra gzip child
1996-11-01 17:12:07 +00:00
asami
632f5aadbc Add ports-astro. 1996-10-24 11:26:16 +00:00
pst
ae8e60c145 catch a mismatch after final review... 1996-10-14 17:27:53 +00:00