Commit Graph

27010 Commits

Author SHA1 Message Date
bde
1576dfe2be Fixed disordering of *cam* and splsoftvm. 1998-02-01 22:04:58 +00:00
steve
fc4ac04352 setpwent and endpwent have a return type of void, so change this
to work like newer versions of perl.

Reviewed by:	Bruce Evans
1998-02-01 22:04:49 +00:00
bde
40bd32273d Removed unused #includes. 1998-02-01 21:57:49 +00:00
bde
727e1b0194 Don't define KERNEL before including <nfs/nfs.h>. It is no longer
necessary.  This fixes warnings about missing forward declarations
for structs in kernel-only prototypes.
1998-02-01 21:53:19 +00:00
bde
a1f8745634 Moved declaration of `union nethostadr' outside of the KERNEL section,
to give pollution compatible with <nfs/nqfs.h>.  At least mount_nfs.c
previously had to #define KERNEL before including <nfs/nfs.h> to get
this pollution, but this gave other pollution.

Moved comment about NFSINT_SIGMASK to immediately before the code that
it applies to.
1998-02-01 21:23:29 +00:00
bde
446b81e75d Forward declare more structs that are used in prototypes here - don't
depend on <sys/types.h> forward declaring common ones.

Added an underscore to `sin' in prototypes to avoid warnings for the
conflict with the ANSI sin().
1998-02-01 20:34:07 +00:00
bde
3d6b2c821b Removed ifdef for <sys/sockio.h> vs <sys/ioctl.h>. <sys/sockio.h> is
a BSD4.4Lite1 feature, not a FreeBSD feature.  <sys/ioctl.h> is a
compatibility misfeature.

Moved NPCI ifdef.  This file didn't compile if NPCI <= 0.  It shouldn't
be configured in that case, but it is easy to support (mis)configuration
of drivers without buses by generating null objects, and many drivers
do it.

Removed unused includes.
1998-02-01 20:25:16 +00:00
bde
2adc6309fe Forward declare more structs that are used in prototypes here - don't
depend on <sys/types.h> forward declaring common ones.
1998-02-01 20:08:39 +00:00
helbig
53c968c454 Search for proper executables, ignore directories 1998-02-01 20:01:29 +00:00
bde
188cf22a57 Fixed the search for free wd drives. The search was terminated
prematurely when there was a hole (for a cdrom or an unused
interface) in the sequence of wd drives.  This caused non-free
wd units to be probed as atapi drives.  There was no problem
provided the atapi probe failed correctly.
1998-02-01 19:10:04 +00:00
bde
5c922b080c Declare printf() instead of including <stdio.h>, so that this doesn't
depend on anything outside of "sys".

Removed an unused include.

Don't use `extern' in a function declaration.
1998-02-01 18:53:09 +00:00
bde
4cee3d0e1e Declare printf() instead of including <stdio.h>, so that this doesn't
depend on anything outside of the "sys" tree.
1998-02-01 18:47:56 +00:00
bde
6a99eb78ce Don't put "-I." in ${CFLAGS} here. bsd.kmod.mk now puts an absolute
path to the obj directory in ${CFLAGS}.  This is actually equivalent
to "-I." since bsd.kmod.mk also puts -I- in ${CFLAGS}.
1998-02-01 18:12:15 +00:00
wollman
81f0e56cf6 Serves me right for committing code late at night...
Fix the SCIOCGETDEVINFO code so that it compiles, and while I'm at it,
add support for human-readable device names so that I don't have
to call devname(3) on  the scd->dev to get it.
1998-02-01 18:09:50 +00:00
bde
bd8db5a10e Don't put a path to "sys" in ${CFLAGS} here. bsd.kmod.mk now handles
this more generally.
1998-02-01 17:59:59 +00:00
bde
c9dfcc430a Don't handle the `machine' symlink or related include paths here.
bsd.kmod.mk now handles it more generally.
1998-02-01 17:53:56 +00:00
bde
88e9a98172 Fixed breakage from converting NULLFS_DEBUG to a new-style option. 1998-02-01 17:34:11 +00:00
bde
64af97a339 Restrict the include search path using -nostdinc -I- in $(CFLAGS} as
in kernel Makefiles.  Nothing in /usr/include is used (provided
relative paths for sys/* and <machine> can be found), so there is
no need for the -I/usr/include kludge as in kernel Makefiles.
1998-02-01 17:19:54 +00:00
steve
21062993ed Cleanup the manpage now that setpwent has a void return type. 1998-02-01 17:13:12 +00:00
steve
c3bc523e8e setpwent now has a void return type, so remove the now bogus cast. 1998-02-01 17:11:07 +00:00
kato
3a6101c511 Added tx driver.
Pointed-out by:	NOKUBI Hirotaka <hnokubi@yyy.or.jp>
1998-02-01 11:42:55 +00:00
dyson
98c4c2e86f Back out recent laptop sync changes. They had significant errors. 1998-02-01 08:24:00 +00:00
steve
5f057876d5 Spell 'implements' correctly.
PR:		5614
Submitted by:	Dag-Erling Coidan Smorgrav <dag-erli@ifi.uio.no>
1998-02-01 07:03:29 +00:00
steve
74cbc4dc5c Revert last commit and SEE ALSO pstat(8) instead.
Submitted by:	Bruce Evans
1998-02-01 06:46:37 +00:00
pst
5c291b8a2d Remove INTCVSROOT, no longer needed thanks to cvsup 1998-02-01 06:35:44 +00:00
steve
43d665ea7b ulimit does not have its own manpage as it is a shell builtin.
PR:		5582
Submitted by:	Craig Leres <leres@ee.lbl.gov>
1998-02-01 06:19:56 +00:00
steve
82731c60fb XOpen says the void setpwent(void) is correct. Also call setpassent(0)
instead of duplicating code, albeit trivial (inspired by NetBSD).

PR:		5524
1998-02-01 06:16:08 +00:00
steve
af45e9528b Typo: PAT -> FAT.
PR:		5593
1998-02-01 05:58:42 +00:00
steve
ea3eabd5ee Revert previous commit. Remove all ifp->if_* = 0 initializations,
since pkh made tunctl static in revision 1.17 these are already
guaranteed to be zero'd and tunattach will only be called once.

Pointed out by: Bruce Evans and Bill Fenner
1998-02-01 05:36:44 +00:00
yokota
77577a1efb Make RAWBOOT functional again; don't read boot.config' and boot.help'
if RAWBOOT is defined.
Reviewed by: bde
Submitted by: Takeshi Amaike <amaike@iri.co.jp>
1998-02-01 05:24:24 +00:00
wollman
f3d9b9b0a4 Add a new ioctl, SCSIOCGETDEVINFO, which takes a device ID and uses it
to look up information about that device.  Right now, all it does
is give back the dev_t for the device, if known, since that's all
I needed, but hopefully the SCSI mavens will come up with a more generally
useful structure.
1998-02-01 04:13:13 +00:00
dyson
ef6e7f7b8d Fix a performance problem caused by an earlier commit. 1998-02-01 02:00:20 +00:00
dyson
1d361dc623 Support more intelligent sync operations for MNT_NOATIME.
PR: kern/5577
Submitted by:	Craig Leres <leres@ee.lbl.gov>
1998-02-01 01:59:12 +00:00
wollman
2a227e2801 Add an additional `named_program' variable so that we can easily choose
between 4.9.6 and the port of 8.x.
1998-02-01 00:20:56 +00:00
obrien
247217cd33 Allow package building in current directory again. 1998-01-31 20:59:30 +00:00
dyson
44cc663f3d contigalloc doesn't place the allocated page(s) into an object, and
now this breaks vm_page_wire (due to wired page accounting per object.)

This should fix a problem as described by Donald Maddox.
1998-01-31 20:30:18 +00:00
julian
f71f7b54be add the SUIDDIR option and tell people what it is for. (And when NOT to use it) 1998-01-31 19:41:27 +00:00
julian
07d4337d31 Serves me right for not puting SUIDDIR in LINT. it got bitrot.
This should stop complaints about it not working for people.
1998-01-31 19:28:28 +00:00
kato
b67921a0cc Sync with sys/i386/i386/trap.c revision 1.120. 1998-01-31 15:16:27 +00:00
kato
7051252110 Sync with sys/i386/isa/isa.c revision 1.109. 1998-01-31 14:48:52 +00:00
kato
4a7bba0442 Sync with sys/i386/conf/options.i386 revision 1.70. 1998-01-31 14:10:14 +00:00
kato
8d888fd611 Sync with sys/i386/conf/Makefile.i386 revision 1.107. 1998-01-31 13:45:28 +00:00
dyson
2aacd1ab4f Change the busy page mgmt, so that when pages are freed, they
MUST be PG_BUSY.  It is bogus to free a page that isn't busy,
because it is in a state of being "unavailable" when being
freed.  The additional advantage is that the page_remove code
has a better cross-check that the page should be busy and
unavailable for other use.  There were some minor problems
with the collapse code, and this plugs those subtile "holes."

Also, the vfs_bio code wasn't checking correctly for PG_BUSY
pages.  I am going to develop a more consistant scheme for
grabbing pages, busy or otherwise.  For now, we are stuck
with the current morass.
1998-01-31 11:56:53 +00:00
kato
89164485a3 Deleted unused file.
Submitted by:	NOKUBI Hirotaka <hnokubi@yyy.or.jp>
1998-01-31 11:40:32 +00:00
kato
757f579d3b Delte unused files.
Submitted by:	NOKUBI Hirotaka <hnokubi@yyy.or.jp>
1998-01-31 11:32:39 +00:00
eivind
712a1e61e7 Make the debug options new-style.
This also zaps a DPT option from lint; it wasn't referenced from
anywhere.
1998-01-31 07:23:16 +00:00
imp
6f27646b4c kill ufs/lfs so that make installworld completes successfully. 1998-01-31 05:54:54 +00:00
imp
30147f6862 Kill lfs files that were causing make world to fail. 1998-01-31 05:53:57 +00:00
eivind
abc8db9838 Attempt at making this use DEVFS properly. (Now it should at least work.) 1998-01-31 05:23:49 +00:00
eivind
e8dbec0c06 Make POWERFAIL_NMI, PPS_SYNC and NATM new style options.
This also fixes a couple of defunct options; submitted by bde.
1998-01-31 05:00:21 +00:00