Commit Graph

49253 Commits

Author SHA1 Message Date
msmith
8e775051fd The AMI MegaRAID's internal memory map conflicts with scatter/gather
map physical addresses below 0x2000 (accoding to AMI).  If we
allocate our s/g tables and get an address below this point, leak the
memory and try again.

This should fix booting from these controllers.
2000-06-10 19:22:39 +00:00
phk
5c2142e36b fix a typo 2000-06-10 19:21:20 +00:00
jlemon
e50ca9566e Add KASSERT() to mbuf free routines in order to allow developers to
catch cases where the mbuf has already been freed.
Submitted by:	David Malone <dwmalone@maths.tcd.ie>
PR:		kern/18471
2000-06-10 18:00:27 +00:00
jlemon
556a99d957 Check for MGET* returning NULL and return ENOBUFS in this case.
Submitted by: Bosko Milekic <bmilekic@technokratis.com>
2000-06-10 17:55:57 +00:00
dfr
ad9c556957 Release resources properly in detach. 2000-06-10 17:53:20 +00:00
dfr
52b31c00bb Fix the AMD 751 AGP minidriver so that it works with my test code. 2000-06-10 17:44:53 +00:00
dfr
7946f9a663 Increment __FreeBSD_version to allow detection of AGP interfaces. 2000-06-10 16:53:54 +00:00
jake
dd687fadf8 (1) document *_HEAD_INITIALIZER
(2) fix a STAILQ_HEAD that should have been STAILQ_FIRST

Requested by:	(1) bde
		(2) W Gerald Hicks <jhix@mindspring.com>
2000-06-10 16:41:07 +00:00
ru
caf976b39e Make `ssh-agent -k' work for csh(1)-like shells. 2000-06-10 14:14:28 +00:00
asmodai
8b5f845e70 Detail some more 3Com NICs which we support with ep nowadays.
Submitted by:	alex
2000-06-10 14:03:22 +00:00
dmlb
55858f6a29 Seperate debug for dumping comq entries. 2000-06-10 13:52:27 +00:00
dmlb
defb974a0d Add macros for freeing a set of malloc runq entries and adding them to the
runq queue, safely checking for ENXIO
2000-06-10 13:52:06 +00:00
dmlb
60e2d87a74 Remove promisc_user, ray_reset and ray_reset_timo as they are not used. Incidental remove of a timer too. Remove the runq_abort code.
Get ray_detach working correctly. This is a very simple routine as it
just wakes up sleeping processes. Note that anything woken has NO softc
structure available! runq_add is suitably modified to detect a detach and
return straight away.

Due to ray_detach and its implications use a macro for adding things
to the runq in user land.
2000-06-10 13:50:57 +00:00
asmodai
2b1d08765e Actually detail which ATA controllers we support. 2000-06-10 13:41:52 +00:00
asmodai
eff86e03a9 Fix alphabetical ordering of supported ATA-chipsets. 2000-06-10 13:38:40 +00:00
peter
84a2d25538 Unused include: #include "sl.h" - NSL is no longer used. 2000-06-10 11:21:30 +00:00
peter
f46654aec5 Unused include: #include "pps.h" 2000-06-10 11:14:19 +00:00
peter
5a394165df Unused includes: #include "pci.h" and #include "lnc.h" 2000-06-10 11:13:39 +00:00
peter
cebdb3d96e Unused include: #include "ex.h" 2000-06-10 11:09:03 +00:00
peter
b56f01f161 Unused include: #include "bt.h" 2000-06-10 11:08:34 +00:00
peter
8fff75a2c9 Unused include: #include "ahc.h" 2000-06-10 11:07:54 +00:00
peter
671412085c Unused include: #include "aic.h" 2000-06-10 11:06:51 +00:00
peter
3be5ee4661 Unused include: #include "adw.h" 2000-06-10 11:06:16 +00:00
peter
2ab13233a1 Unused include: #include "fla.h" 2000-06-10 11:05:17 +00:00
peter
1309fd7187 No-op change. Remove #if NVT > 0 in files that are 'optional vt' and
therefore can never be compiled if NVT == 0. config(8) guarantees this.
2000-06-10 11:03:31 +00:00
peter
338f22ef9c Argh. This is what I get for trying to do too many things at once.
Revert last commit. sc.h/NSC is used.
2000-06-10 10:32:43 +00:00
alex
9207d01f3d Remove XXX: Describe if_init().
Reviewed by:	asmodai
2000-06-10 10:23:06 +00:00
peter
df75627b6c Untangle some #include between gusc.c/mss.c - gusc.c could create
an attachment node for something that may not have been compiled in.
2000-06-10 07:20:54 +00:00
peter
32d2bf7f38 Unused include: #include "sbc.h" 2000-06-10 07:17:29 +00:00
peter
39677f9f7f We always provide the bpf hooks. Remove #include "bpf.h"/NBPF. 2000-06-10 07:16:14 +00:00
peter
26d9019aaf Unused includes: #include "pci.h", #include "pcm.h" 2000-06-10 07:15:15 +00:00
peter
a2d4c2fbee Unused include: #include "scbus.h" 2000-06-10 07:14:10 +00:00
peter
aa7ad3863a Unused include: #include "ether.h" 2000-06-10 07:13:26 +00:00
peter
5a364783cd Unused include: #include "pty.h" 2000-06-10 07:12:40 +00:00
peter
70a0a715f8 Unused include: #include "sc.h" 2000-06-10 06:42:13 +00:00
peter
1293ebd9cc Unused include: #include "fb.h" 2000-06-10 06:41:11 +00:00
peter
25ef666811 Add ISP_COMPILE_12160_FW and ISP_COMPILE_12160_FW options to opt_isp.h 2000-06-10 02:09:50 +00:00
peter
6c41ef4ab2 Add option BROKEN_KEYBOARD_RESET to an opt_*.h file 2000-06-10 02:05:57 +00:00
jlemon
a1f73470ca malloc(..., M_WAITOK) will not return NULL, so remove the error
handling for this case (which was slightly broken anyway)

Fix up some whitespace problems while I'm here too.

Submitted by:  alfred   (in a slightly different form)
2000-06-10 01:51:18 +00:00
jhb
e34188e1fc Document flags 0x100 in syscons.4, and document syscons' flags in LINT.
Reviewed by:	yokota, obrien
2000-06-09 23:47:30 +00:00
msmith
3c1108d166 taskqueue_swi is a pointer, not a struct. Fix a comment that misleadingly
suggests you pass its address to taskqueue_enqueue, which leads to various
kinds of unpleasant mischief.
2000-06-09 22:32:36 +00:00
ghelmer
496bad7fc0 Forced commit: F_SETFL is used to clear O_NONBLOCK, not F_SETFD.
The code was right, the comment in the PR was wrong.
2000-06-09 19:44:49 +00:00
ghelmer
2b59ff22ec O_NONBLOCK was used as a command with a bogus arg to fcntl(2).
Change it to F_SETFD with an arg of 0 to clear O_NONBLOCK.

PR:		bin/8681
Submitted by:	koyama takahiro <tah@d1.dion.ne.jp>
Prompted by:	Nathan Ahlstrom <nrahlstr@winternet.com>
2000-06-09 19:38:28 +00:00
ghelmer
413a2b37bd NONBINMODE -> NOBINMODE for NLSMODE.
PR:		bin/8811
Submitted by:	Naohiko Tsuji <yakisoba@osaka.interq.or.jp>
Prompted by:	Nathan Ahlstrom <nrahlstr@winternet.com>
2000-06-09 19:15:51 +00:00
ghelmer
35515887ce Add QNX 4 partitions to fdisk's list.
PR:		bin/8809
Submitted by:	"John C. Place" <jcplace@ibm.net>
Prompted by:	<nrahlstr@winternet.com>
2000-06-09 19:10:09 +00:00
brian
940cc2dc44 Document $clear_daily_* 2000-06-09 17:07:59 +00:00
brian
4f17385195 Add clear_daily_* variables 2000-06-09 17:07:15 +00:00
brian
ceb9d96a6e Use $clear_daily_* from rc.conf to decide what should be deleted
Reviewed by:	The silence of -committers
2000-06-09 17:05:11 +00:00
brian
1c8d742b13 Dynamically allocate softc structures
Reviewed by: Mark Knight <mkn@uk.FreeBSD.org>
2000-06-09 17:03:29 +00:00
dan
1226423ba7 Increase delay from 10mu to 1000mu when reading play control size. This
allows the YMF744 to initialize properly.
2000-06-09 16:44:30 +00:00