Commit Graph

49281 Commits

Author SHA1 Message Date
brian
af7ffee6a6 Don't oan about padding characters 2000-06-11 12:22:06 +00:00
asmodai
3044642f22 Add Adico and Accton NICs to the list.
Move NDC a bit lower so that it is alphabetical.

Inspired by PR:	18735
Submitted by:	Adoal Xu <adoal@iname.com>
2000-06-11 12:04:08 +00:00
asmodai
fe3351d493 Add support for the Accton EN1217.
PR:		18735
Submitted by:	Adoal Xu <adoal@iname.com>
2000-06-11 11:54:52 +00:00
bde
c3e7ea7940 Fixed allocation of unit numbers. Allocate the amount of space actually
required (rounded up a little) instead of twice the previous amount (or
a fixed amount for the first allocation).

The bug caused memory corruption when a new unit number for a devclass
was more than about twice the previous maximum one (or more than 3 for
the first one), so it corrupted memory (which happened to be the atkbdc
port resource list) in the reporter's configuration with sio unit
numbers { 0, 25, 1, 2, ... }.

Reviewed by:	dfr
Reported by:	Leonid Lukiyanets <stalwar78@hotmail.com>
2000-06-11 07:19:20 +00:00
tanimura
c9bc541ebb 1. Update Comtrol RocketPort driver(rp) to version 3.02.
2. Newbusify the driver.
3. Build as a module.

4. Use correct minor numbers when creating device files.
5. Correctly lock control characters.
6. Return ENXIO when device not configured.
Submitted by:	Tor Egge	<Tor.Egge@fast.no>

7. Fix the baud_table.
Submitted by:	Elliot Dierksen	<ebd@oau.org>

Note:
- the old driver still lives in src/sys/i386/isa, so that you can
  revert to it if something goes wrong.
- The module does not detach very well. Attaching works fine.
2000-06-11 06:43:16 +00:00
alc
78e0c10905 cpu_fork(): Check "flags" before dereferencing "p2". Otherwise,
the call "vm_fork(p1, 0, flags);" early in fork1 can cause a kernel
panic.
2000-06-11 06:22:01 +00:00
kris
ac8f41b337 Link explicitly against -lmd. I'm not sure what was pulling this in
on -current, but it doesnt do it on -stable.
2000-06-11 05:30:52 +00:00
dillon
57e6f1a5dd Fix memory leak in mount_nfs's background (-b) mode which occurs when
the mount is not available.

Submitted-by: Jonathan Hanna <pangolin@home.com>
2000-06-11 05:19:58 +00:00
ache
33a9fbbc76 Activate Japanese NLS and KANJI support 2000-06-11 03:26:08 +00:00
brian
3f7563647e Add ``set ifqueue'' to control the size of the outgoing packet
queue.  Doing ``set ifqueue 0'' and ``set urgent none'' will allow
full use of luigi's WF2Q code.

Requested by: luigi
2000-06-11 02:30:51 +00:00
msmith
fba6be4078 Don't include opt_smp.h - we don't use anything defined in it. 2000-06-10 22:59:50 +00:00
msmith
23e5614c36 Correct the tests for ISA PIC/APIC so that they actually work. 2000-06-10 22:56:09 +00:00
kris
3040938ae2 Fix security botch in "UseLogin Yes" case: commands are executed with
uid 0.

Obtained from:	OpenBSD
2000-06-10 22:32:57 +00:00
obrien
b5854b2d0d This commit was generated by cvs2svn to compensate for changes in r61524,
which included commits to RCS files with non-trunk default branches.
2000-06-10 22:20:53 +00:00
obrien
88bc1777b9 Offical fixes to allow longer lines in the history and tweak expand_lex()
useage.
2000-06-10 22:20:53 +00:00
peter
16aa9915fe A checkpoint of a part of a work-in-progress. Some more cleanups for
config(8).  This commit allows control of the creation of the
#include "foo.h" files.  We now only create them explicitly when needed.
BTW; these are mostly bad because they usually imply static limits on
numbers of units for devices.  eg: struct mysoftc sc[NFOO];
These static limits have Got To Go.
2000-06-10 22:13:40 +00:00
obrien
87ba46f558 Offical fixes to quiet compiler warnings. 2000-06-10 22:07:54 +00:00
obrien
9d53455016 This commit was generated by cvs2svn to compensate for changes in r61521,
which included commits to RCS files with non-trunk default branches.
2000-06-10 22:07:54 +00:00
obrien
5bc99b1036 Offical fixes to the history and I18N bugs ache found. 2000-06-10 21:38:51 +00:00
obrien
e5768ed854 This commit was generated by cvs2svn to compensate for changes in r61519,
which included commits to RCS files with non-trunk default branches.
2000-06-10 21:38:51 +00:00
dmlb
ab5e51ae26 Removed a few RAY_MAP_CMs that were not needed.
Made checking sc->gone a lot safer by checking to see if sc is NULL first.

Made return from tsleep in the ccs allocator detach safe.
2000-06-10 21:24:36 +00:00
obrien
452d75e68c It is not necessary to wrap usage of $f28 with ".set noat/at" pairs.
A very bogus gas warning gave people the impression it was.  noat/at had
no useful affect here.
2000-06-10 20:42:27 +00:00
obrien
85b66f4b34 Offical fixes to the history and I18N bugs ache found. 2000-06-10 20:14:21 +00:00
obrien
eac21a4636 This commit was generated by cvs2svn to compensate for changes in r61515,
which included commits to RCS files with non-trunk default branches.
2000-06-10 20:14:21 +00:00
phk
9512871af3 Handle minors like ls(1) does it.
PR:		19179
Submitted by:	Kelly Yancey <kbyanc@posi.net>
2000-06-10 19:55:39 +00:00
phk
f0e54bbbc1 Add an autologin example.
PR:		18082
Submitted by:	C. Stephen Gunn <csg@dustdevil.waterspout.com>
2000-06-10 19:49:16 +00:00
alex
c4bf3df0e2 Avoid useless check against NULL, since we assign the checked value
to the var anyways.

Reviewed by:	bde
2000-06-10 19:48:19 +00:00
msmith
e8f5eacdbe Update hardware and release-note blurb about AMI and Mylex RAID
controllers.  Add extra verbiage to try to clarify some of the more
frequently asked questions.
2000-06-10 19:41:34 +00:00
msmith
d0af6b334e 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
2cf177b839 fix a typo 2000-06-10 19:21:20 +00:00
jlemon
27076e19f4 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
be47508be7 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
d3b2b068fa Release resources properly in detach. 2000-06-10 17:53:20 +00:00
dfr
6a80041423 Fix the AMD 751 AGP minidriver so that it works with my test code. 2000-06-10 17:44:53 +00:00
dfr
4a5acc89bf Increment __FreeBSD_version to allow detection of AGP interfaces. 2000-06-10 16:53:54 +00:00
jake
963ac5cda7 (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
1f394a2458 Make `ssh-agent -k' work for csh(1)-like shells. 2000-06-10 14:14:28 +00:00
asmodai
35aee3b024 Detail some more 3Com NICs which we support with ep nowadays.
Submitted by:	alex
2000-06-10 14:03:22 +00:00
dmlb
9281230c71 Seperate debug for dumping comq entries. 2000-06-10 13:52:27 +00:00
dmlb
6bc8a3ab79 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
03b681be8d 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
81dd4414f7 Actually detail which ATA controllers we support. 2000-06-10 13:41:52 +00:00
asmodai
a57cb2a003 Fix alphabetical ordering of supported ATA-chipsets. 2000-06-10 13:38:40 +00:00
peter
ca8f53d113 Unused include: #include "sl.h" - NSL is no longer used. 2000-06-10 11:21:30 +00:00
peter
40481bc4d4 Unused include: #include "pps.h" 2000-06-10 11:14:19 +00:00
peter
4c6ce84a31 Unused includes: #include "pci.h" and #include "lnc.h" 2000-06-10 11:13:39 +00:00
peter
f69440e4d1 Unused include: #include "ex.h" 2000-06-10 11:09:03 +00:00
peter
c8554e83df Unused include: #include "bt.h" 2000-06-10 11:08:34 +00:00
peter
bbb0c3729f Unused include: #include "ahc.h" 2000-06-10 11:07:54 +00:00
peter
6845c7ee4c Unused include: #include "aic.h" 2000-06-10 11:06:51 +00:00