Bruce Evans
b163ce2f65
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
Bruce Evans
76d0502a56
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
Bruce Evans
2625bd3484
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
Bruce Evans
98f3fd4b49
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
Garrett Wollman
f57e23d3a2
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
Bruce Evans
609e0c94f2
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
Bruce Evans
77783a2701
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
Bruce Evans
4d889d1c84
Fixed breakage from converting NULLFS_DEBUG to a new-style option.
1998-02-01 17:34:11 +00:00
Bruce Evans
021886ff87
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
KATO Takenori
9b9171060e
Added tx driver.
...
Pointed-out by: NOKUBI Hirotaka <hnokubi@yyy.or.jp>
1998-02-01 11:42:55 +00:00
John Dyson
9cfcd01101
Back out recent laptop sync changes. They had significant errors.
1998-02-01 08:24:00 +00:00
Steve Price
3398edcee9
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
Kazutaka YOKOTA
2c2491393e
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
Garrett Wollman
158f45f157
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
John Dyson
1f13bdaa97
Fix a performance problem caused by an earlier commit.
1998-02-01 02:00:20 +00:00
John Dyson
de1050d8e4
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
John Dyson
c15541e7a7
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 Elischer
cb800e3451
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 Elischer
abafd7f814
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 Takenori
187344e72d
Sync with sys/i386/i386/trap.c revision 1.120.
1998-01-31 15:16:27 +00:00
KATO Takenori
23e499c5f0
Sync with sys/i386/isa/isa.c revision 1.109.
1998-01-31 14:48:52 +00:00
KATO Takenori
e2e660e926
Sync with sys/i386/conf/options.i386 revision 1.70.
1998-01-31 14:10:14 +00:00
KATO Takenori
f84d885c42
Sync with sys/i386/conf/Makefile.i386 revision 1.107.
1998-01-31 13:45:28 +00:00
John Dyson
eaf13dd73a
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 Takenori
59a7338440
Deleted unused file.
...
Submitted by: NOKUBI Hirotaka <hnokubi@yyy.or.jp>
1998-01-31 11:40:32 +00:00
KATO Takenori
5d755e0334
Delte unused files.
...
Submitted by: NOKUBI Hirotaka <hnokubi@yyy.or.jp>
1998-01-31 11:32:39 +00:00
Eivind Eklund
3f2076daf5
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
Eivind Eklund
2166d84372
Attempt at making this use DEVFS properly. (Now it should at least work.)
1998-01-31 05:23:49 +00:00
Eivind Eklund
e0d781f3a5
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
Eivind Eklund
c6b60f62de
Add support for cleandepend, ${DESTDIR}, and there not being a file named
...
${DESTDIR}/kernel.
1998-01-31 04:23:15 +00:00
Eivind Eklund
c6de6a69a1
Add various options people have ignored.
...
Submitted by: bde
1998-01-31 03:33:51 +00:00
Eivind Eklund
828084926f
Skip probing devices which have already probed true.
1998-01-31 03:29:00 +00:00
Eivind Eklund
eaa22ef760
Remove unused devfs include. (Julian or Satoshi might want to add proper
...
DEVFS support here; just including the header file doesn't do any good, and
would make this depend on opt_devfs.h)
1998-01-31 03:19:06 +00:00
Eivind Eklund
e363c5ae0a
Add #include "opt_devfs.h".
1998-01-31 02:58:53 +00:00
Eivind Eklund
5212dc9c0b
Include "opt_nfs.h"
...
Pointed out by: Eric L. Hernes <erich@lodgenet.com>
1998-01-31 02:53:41 +00:00
Eivind Eklund
26d8676da5
Include "opt_devfs.h".
1998-01-31 02:50:37 +00:00
Tor Egge
f5160d1e06
Release the buffer when an error occurs while reading directory entries.
1998-01-31 01:27:18 +00:00
Kazutaka YOKOTA
daf09234ec
Synchronize with ../biosboot/Makefile.
...
- Remove reference to the obsolete options: BOOT_PROBE_KEYBOARD,
BOOT_PROBE_KEYBOARD_LOCK and BOOT_FORCE_COMCONSOLE.
- Add reference to BOOT_COMCONSOLE_SPEED.
1998-01-31 01:20:56 +00:00
Tor Egge
d09a16d804
Update freevnodes when adding a vnode to the head of the free list.
1998-01-31 01:17:58 +00:00
John Hay
40f001c97d
Don't clobber pp_flags when PP_KEEPALIVE must be set.
1998-01-30 19:49:54 +00:00
KATO Takenori
81b0d36c87
Sync with sys/i386/i386/machdep.c revision 1.285.
1998-01-30 12:03:13 +00:00
Poul-Henning Kamp
c5b193bfba
Retire LFS.
...
If you want to play with it, you can find the final version of the
code in the repository the tag LFS_RETIREMENT.
If somebody makes LFS work again, adding it back is certainly
desireable, but as it is now nobody seems to care much about it,
and it has suffered considerable bitrot since its somewhat haphazard
integration.
R.I.P
1998-01-30 11:34:06 +00:00
John Dyson
0621c31aaf
Make the bounce buffer code a little more robust when space isn't
...
available. If there isn't bounce space available, the bounce code
is disabled. This will allow most large systems to run properly
when the bounce space is mistakenly allocated above 16MB.
1998-01-30 10:26:26 +00:00
Paul Traina
5a00d1c6ed
Remove obsolete strategy code that was replaced by the disk slice mapping code.
...
FreeBSD filesystems could be dammaged by repeatedly mounting and unmounting
several partitions.
1998-01-29 19:02:51 +00:00
Jordan K. Hubbard
5f408f2bf2
Update to version stable-165
...
Submitted by: Ustimenko Semen <semen@iclub.nsu.ru>
1998-01-29 10:31:45 +00:00
Mike Smith
4a8aee409f
Correct usage of unit to t->lun. This fixes the DEVFS case and the
...
"buggy Zip" message.
Suggested by: Pedro A M Vazquez <vazquez@IQM.Unicamp.BR>
1998-01-29 06:42:12 +00:00
KATO Takenori
bbc4f6d526
Sync with sys/i386/isa/clock.c revision 1.108.
1998-01-28 12:25:06 +00:00
KATO Takenori
febdf8331f
Sync with sys/i386/boot/biosboot/Makefile revision 1.61.
1998-01-28 12:20:57 +00:00
Poul-Henning Kamp
53dd848c82
APM calls inittodr(0) which is stupid, but at least stop setting the
...
clock back to when Dennis had a good idea.
1998-01-28 10:41:33 +00:00
Kazutaka YOKOTA
ef65ade83a
Define CTL-ALT-ESC as the debug' key, CTL-ALT-SPACE as the
suspend'key
...
in all built-in keymaps.
1998-01-28 08:45:18 +00:00