Commit Graph

16742 Commits

Author SHA1 Message Date
cg
5163001e1b fix a bug with cat >/dev/{dsp,dspW,audio} hanging 1999-09-08 17:34:54 +00:00
phk
6e866e9c68 Make sa/bdev, gd/bdev and gd/cdev as past-tense. 1999-09-08 17:02:40 +00:00
phk
d912565c81 Don't register a block major for tapes.
Reviewed by:	mjacob
1999-09-08 17:01:41 +00:00
ru
f85986a747 Fix typo. 1999-09-08 16:37:14 +00:00
peter
c3801feb0d Add a pointer to "controller miibus0" for people who will not read the
commit messages or GENERIC and insist on running -CURRENT.
It probably won't work, but it's worth a try.
1999-09-08 15:01:58 +00:00
peter
20bba1975a Make it build, copy from dev/sio/sio.c:
isa_set_flags -> device_set_flags
isa_get_flags -> device_get_flags
1999-09-08 13:46:54 +00:00
phk
bbccb6b409 Update docs for 3.3-R
OK'ed by:	jkh
1999-09-08 12:42:15 +00:00
peter
fc7909ed83 Add $FreeBSD$ 1999-09-08 11:14:56 +00:00
peter
a8f7bca0ce Restore old sio driver for Bruce. We'll fix the bus problems in nsio
instead.
1999-09-08 11:08:50 +00:00
peter
0c67953542 s/sio/nsio/ 1999-09-08 11:07:40 +00:00
peter
e7b9f6814f Restore the old sio* - bruce can fix it himself. 1999-09-08 10:59:03 +00:00
alfred
f74ba1483e All unimplemented VFS ops now have entries in kern/vfs_default.c that return
reasonable defaults.

This avoids confusing and ugly casting to eopnotsupp or making dummy functions.
Bogus casting of filesystem sysctls to eopnotsupp() have been removed.

This should make *_vfsops.c more readable and reduce bloat.

Reviewed by:	msmith, eivind
Approved by:	phk
Tested by:	Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
1999-09-07 22:42:38 +00:00
luoqi
4434ea0665 Save %gs in sigcontext when delivering a signal and restore them upon
return (in signal trampoline code). I plan to do the same on -stable,
so that we have a consistent interface to userland applications.

Reviewed by:	bde
1999-09-07 20:02:24 +00:00
wpaul
b85265b368 Fix comment: RX underrun -> RX overrun. 1999-09-07 17:06:17 +00:00
peter
afedeaff12 Doug missed an isa_get_flags(). 1999-09-07 13:08:25 +00:00
kato
07be80c5ed Merge from sys/i386/i386/userconfig.c revisions 1.157 & 1.158. 1999-09-07 12:11:52 +00:00
kato
9f5f7cf66d Commented out k6_mem.c. 1999-09-07 12:09:26 +00:00
kato
3b2e5c67e8 Change isa_get/set_flags() to device_get/set_flags().
Submitted by:	dfr
1999-09-07 11:17:09 +00:00
msmith
b1b1b015f6 Add more missing files from the reorganisation.
Submitted by:	dfr
1999-09-07 09:08:09 +00:00
dfr
9c18fa9b4a Change isa_get/set_flags() to device_get/set_flags(). 1999-09-07 08:42:49 +00:00
wpaul
0dfb862e27 Add mii_load entry to the network drivers section. Also add entries for
a few additional drivers that have recently been module-ized.
1999-09-07 05:03:06 +00:00
wpaul
7e69c5b5cc Fix an instance of FOO_RX_LIST_CNT that should have been FOO_TX_LIST_CNT. 1999-09-06 23:29:50 +00:00
dfr
20b4ebce36 Update for newpcm. 1999-09-06 20:37:07 +00:00
n_hibma
528e06f951 1) s/mod(un)?load/kld$1load/
2) s/MODLOAD/KMODLOAD/ to be consistent with the rest of the variables
(KMOD, KMODOWN, KMODGRP, etc) and definition of MODLOAD/UNLOAD in the
Makefile of the ATAPI module

3) textual fixups
1999-09-06 20:11:59 +00:00
wpaul
166836e43c Remember to re-arm the timeout for the tick routine. 1999-09-06 19:42:02 +00:00
wpaul
d90358661f Fix definitions for RID and RES if we're not using IOSPACE. I copied the
two lines and forgot to change them for the !IOSPACE case. Not a big deal
since PCI memory mapped mode is off by default, but I still feel silly.
1999-09-06 18:42:27 +00:00
dfr
5ef89c9209 Change NetBSD/Alpha to FreeBSD/alpha. 1999-09-06 18:32:40 +00:00
peter
6420cdcf78 Repo copy isa/sio* to dev/sio/sio* in preperation for extra bus methods
including pci.
Also, eliminate NSIOTOT and do it dynamically where it matters.
1999-09-06 14:06:23 +00:00
peter
38ec2ab8f6 Move the #if 0 to catch the card.h include and make sure it's zero. 1999-09-06 13:30:36 +00:00
peter
87b8ea12dd Add id_iosize as used by pccard. 1999-09-06 11:37:23 +00:00
peter
9e73342ca7 add pccard/pccard_nbk.c 1999-09-06 11:36:25 +00:00
peter
b27611f64e $Id$ -> $FreeBSD$ 1999-09-06 11:23:05 +00:00
msmith
2564d1573e Common Alpha loader Makefile, omitted accidentally from the previous set
of commits.
1999-09-06 08:38:10 +00:00
peter
e4fdf3e022 Clean $Log$ debris. 1999-09-06 07:26:52 +00:00
imp
bf2422fbbf Start to disentangle the isa attachments from other buses. Partially
rewrite the pccard attachment case.  This is a work in progress, but
doesn't break the isa case.

I left the #if 0...#endif around the pccard stuff, at Peter's request,
so that normal users don't shoot themselves in the foot.

While I was here:
	o Indent a comment to the right location
	o Spell Unknown with a final 'n'.

Reviewed by: peter
1999-09-06 06:45:20 +00:00
imp
c98dba8737 Add pccard child to nexus. A better version would take care of this
with an identify method, but that has not been implemented.

Forgotten by: imp
1999-09-06 06:39:17 +00:00
imp
1ba0a9839f Kludge together support for the old pccard system with newbus. This
will allow newbus based drivers to have pccard attachments.  Also
start printing out probe messages for pccards stating the resources
used and regularize many of the pccard printfs.

Reviewed by: Peter Wemm.
1999-09-06 06:34:44 +00:00
wpaul
5964fa7ba9 Whups, forgot one $Id$ -> $FreeBSD$ conversion. 1999-09-06 06:19:29 +00:00
peter
8c0b275217 Recognise the new 82559 chip id as used on the InBusiness 10/100 adapter.
I have an 82559 card with the same id as the other 8255[78] chips, but
that was made with a date code of 0699 (June 99).  The submitter shows
this working with the probe etc, but doesn't actually say it works as
on the ethernet. :-) Assuming it does, this is a RELENG_3 merge candidate.
Submitted by:	Steven E Lumos <slumos@sam.ISRI.UNLV.EDU>
1999-09-06 06:15:18 +00:00
wpaul
4417a656b0 This commit adds driver support for PCI fast ethernet NICs based on
the Davicom DM9100 and DM9102 chipsets, including the Jaton Corporation
XPressNet. Datasheet is available from www.davicom8.com.

The DM910x chips are still more tulip clones. The API is reproduced
pretty faithfully, unfortunately the performance is pretty bad. The
transmitter seems to have a lot of problems DMAing multi-fragment
packets. The only way to make it work reliably is to coalesce transmitted
packets into a single contiguous buffer. The Linux driver (written by
Davicom) actually does something similar to this. I can't recomment this
NIC as anything more than a "connectivity solution."

This driver uses newbus and miibus and is supported on both i386
and alpha platforms.
1999-09-06 06:14:30 +00:00
wpaul
94d5da224b Add a driver for the AMD AM79c873 10/100 PHY. By some strange coincidence,
this PHY and the Davicom DM9101 have exactly the same register definitions.
One of them is probably a clone of the other. I'm not sure which.

This is needed for the Davicom DM9102 10/100 PCI ethernet driver which
will be committed shortly.
1999-09-06 05:27:55 +00:00
wpaul
69fcbc16fc This commit adds driver support for the Silicon Integrated Systems
SiS 900 and SiS 7016 PCI fast ethernet chipsets. Full manuals for the
SiS chips can be found at www.sis.com.tw.

This is a fairly simple chipset. The receiver uses a 128-bit multicast
hash table and single perfect entry for the station address. Transmit and
receive DMA and FIFO thresholds are easily tuneable. Documentation is
pretty decent and performance is not bad, even on my crufty 486. This
driver uses newbus and miibus and is supported on both the i386 and
alpha architectures.
1999-09-05 21:01:03 +00:00
peter
d97ddb9219 Set up FPU state on the AP.
Tested by:	phk
1999-09-05 20:17:40 +00:00
peter
9b25dcecd2 Temporarily disable k6_mem (k6 write combining) at Brian's request since
it appears to be causing problems under XFree3.9.16.
1999-09-05 16:55:44 +00:00
green
6aadb3d446 M_WAITOK->M_NOWAIT 1999-09-05 15:45:57 +00:00
phk
bedf452d2d nullclose, not noclose of course. 1999-09-05 15:41:09 +00:00
peter
225758a297 $Id$ -> $FreeBSD$ 1999-09-05 15:21:05 +00:00
grog
8b0b33482c struct rqgroup: put 0-length array at the end. Make mental note not
to write such crap again.

Spotted-by:	Parag Patel <parag@cgt.com>
1999-09-05 06:32:20 +00:00
obrien
0ac75343d1 Install {ibcs2,svr4}.sh in /usr/sbin and not in /usr/bin.
related to PR:		13545
1999-09-05 05:19:08 +00:00
cg
364770d9e4 disable the aureal vortex driver for now 1999-09-04 18:59:47 +00:00