Commit Graph

49291 Commits

Author SHA1 Message Date
kris
4f57b24cfd Fix syntax error in previous commit.
Submitted by:	Udo Schweigert <ust@cert.siemens.de>
2000-06-11 21:41:25 +00:00
phk
fc0108f07a The very feeble beginnings of a driver for the LanMedia LMC1504 card.
New-Bus wizards are encouraged to look at this, I think it poses a
challenge for the current newbus design.
2000-06-11 19:09:47 +00:00
n_hibma
74454ab778 The USB library from NetBSD by Lennart Augustsson <lennart@augustsson.net>. 2000-06-11 18:19:14 +00:00
ume
74d273c06d DNS IPv6 transport support.
It is nessesary for IPv6 only life.

Obtained from:	KAME
2000-06-11 15:43:34 +00:00
brian
f916881111 Hard sentence breaks and trailing space tidy-ups
Obtained from: OpenBSD
2000-06-11 14:58:32 +00:00
dmlb
2a3819876e Suck out all of the current and desired n/w parameters. 2000-06-11 13:57:59 +00:00
dmlb
e435531885 Generated a new macor, RAY_RECERR for reporting errors with. Verbosity set with IFF_DEBUG (recommended at present).
Move promisc flag into the nw parameter structure.
2000-06-11 13:56:11 +00:00
dmlb
4c37b544bb Generated a new macor, RAY_RECERR for reporting errors with. Verbosity set with IFF_DEBUG (recommended at present). 2000-06-11 13:54:59 +00:00
asmodai
9b28e4c7b4 Try and get this list a bit more consistent in style.
Also, clarify a comment with proper comma placement.

Also tried to get the supported soundcard section more fleshed out.  This
needs more work.
2000-06-11 13:51:29 +00:00
dmlb
f68eeb3551 A bunch of misc. tidy ups really.
Generated a new macor, RAY_RECERR for reporting errors with. Verbosity set with IFF_DEBUG (recommended at present).

Add PRIBIO to tsleeps.

Catch detach on ray_ccs_alloc a little better.

Move sc_promisc into desired and current n/w parameters.

Remove IFQ_PEEK, we know the driver runs okay without it.

Drain the output queue in ray_stop.

Only use ray_mcast for ADD/DEL multi ioctls. ray_init_multi resets the
multicast list on startup. Simplifies ray_init a little.

Tidy some old comments.

ray_download_done now copies the whole desired n/w parameter set into the
current set. This is because I was missing soem parameters - like the
net type!
2000-06-11 13:32:07 +00:00
brian
e88906a1c1 Don't oan about padding characters 2000-06-11 12:22:06 +00:00
asmodai
52517a5c25 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
e6fce1adbb Add support for the Accton EN1217.
PR:		18735
Submitted by:	Adoal Xu <adoal@iname.com>
2000-06-11 11:54:52 +00:00
bde
d6f5631720 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
423e956387 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
4fc801a857 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
4b9e219ff8 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
18e6b02332 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
6386cccbf1 Activate Japanese NLS and KANJI support 2000-06-11 03:26:08 +00:00
brian
41ff0cf693 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
588124d70f Don't include opt_smp.h - we don't use anything defined in it. 2000-06-10 22:59:50 +00:00
msmith
f156b85478 Correct the tests for ISA PIC/APIC so that they actually work. 2000-06-10 22:56:09 +00:00
kris
ad6da2a572 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
514604f629 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
9fbe309bef 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
705b81c200 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
456fe14015 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
6c455698d7 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
71af5885a4 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
44e8590644 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
9052367a1f 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
3639e5d5d8 Add an autologin example.
PR:		18082
Submitted by:	C. Stephen Gunn <csg@dustdevil.waterspout.com>
2000-06-10 19:49:16 +00:00
alex
39f3a53286 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
df14840251 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
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