Commit Graph

2684 Commits

Author SHA1 Message Date
mjacob
62ac2ff851 new async code defined 1997-12-05 19:40:35 +00:00
augustss
a908b2b30e Fix three problems spotted by mycroft:
- Closing the audio device should stop recording.
- Manipulating the pause function could accidentally start playing or recording.
- AUDIO_FLUSH could accidentally start playing or recording.
1997-12-03 01:01:19 +00:00
mjacob
d90bb02e10 oops on a comment- it is 1.07 FW, not 1.05 1997-12-03 00:45:05 +00:00
pk
1743d97bd7 Pull over fixes from vm_swap.c:
- guard against synchronous I/O completion
	- avoid race conditions
	- use bgetvp/brelvp to properly maintain the vnode holdcount
	  and clean/dirty buffer lists.
1997-12-02 13:54:48 +00:00
mycroft
187df9b86e Set the gain to 1/2 by default; 3/4 is too loud and can damage headphones and
speakers.
1997-12-02 13:17:39 +00:00
bouyer
2f8f801256 The iy driver now uses if_media (it was the last one, at last for i386, to use
the historical link? flags for media select)
XXX No pullup request for this. But if sysinst supports explicit media
XXX selection in 1.3, this should be in 1.3 as well.
1997-12-02 09:34:03 +00:00
mikel
60d209bff0 add ID for "Best Data Products Smart One 336F"; Dave Huang <khym@bga.com> 1997-12-02 06:10:45 +00:00
mikel
ebdfbf958e fix typo; from Dave Sainty in PR kern/4602 1997-12-02 03:57:54 +00:00
pk
b1f869ef45 Use `busdma' macros. 1997-12-01 23:25:37 +00:00
mjacob
f4b09b4771 fixme: still need a __BROKEN_INDIRECT_CONFIG case 1997-12-01 18:47:01 +00:00
christos
4e3168d176 Make this work again. KNF. 1997-11-30 20:03:15 +00:00
drochner
123570c713 fix inconsistent declaration in non-"__BROKEN_INDIRECT_CONFIG" case 1997-11-30 15:32:25 +00:00
drochner
805c7b6bc0 make it compile without "__BROKEN_INDIRECT_CONFIG" 1997-11-30 15:31:23 +00:00
drochner
4da2344b18 fix inconsistent declaration in non-"__BROKEN_INDIRECT_CONFIG" case 1997-11-30 15:24:59 +00:00
drochner
c7e3c24d53 make it compile without "__BROKEN_INDIRECT_CONFIG" 1997-11-30 15:18:58 +00:00
drochner
301a6046c8 fix argument declaration inconsistency in the
non-"__BROKEN_INDIRECT_CONFIG" case
1997-11-30 15:16:55 +00:00
drochner
8e7686a76b make it compile without "__BROKEN_INDIRECT_CONFIG" 1997-11-30 15:13:30 +00:00
mhitch
f018043286 Fix driver bug when using an RZ23 (and very likely any other drive that
does a "restore data pointers" when reselected after disconnecting in
the middle of a DMA transfer).  The driver needs a different way to know
which script to continue the DMA transfer.  The message-in for the "restore
data pointers" loses the original "resume" script, and the driver would
attempt to continue the DMA transfer at the beginning of the current DMA
chunk, rather than at the point the disconnect occured.  The result was a
spurious console message, and a trashed filesystem.
1997-11-28 18:23:38 +00:00
enami
85792e35df Remove newline after printing FRU CODE instead of removing
newline before printing SKSV information.
1997-11-23 05:49:59 +00:00
bouyer
ff936c230e Move the we driver at the begining of ethernet board, other board's probe
clobbers my SMC. Now I can really use a generic kernel with my SMC @0x300.
This change has been tested on various machines with ne2000 and 3c509 baords.
XXX All these probes sould be reordered after the release, with invasive
XXX probes at the end.
1997-11-21 13:25:14 +00:00
bouyer
2f9552c068 Bussify the I/O part of this driver, so that the invasive probe will
not clobbers config of already-found boards.
1997-11-21 10:27:45 +00:00
bouyer
66f0746d98 The if_ie probe is invasive in such a way that it can clobber other's board
config. Now that this driver is bussified, move it last in the ethernet
adapter list.
1997-11-21 10:09:42 +00:00
augustss
e86b728748 Remove broken PnP id again. 1997-11-20 08:53:39 +00:00
mikel
57bacccec7 increase maximum resource ROM read delay to 1 ms (slow EEPROMS) 1997-11-20 06:41:13 +00:00
thorpej
d2630f4098 Declare the scsipi_xfer's "flags" member to be volatile, to force it
to be reloaded every time it is checked.  This avoids a condition where
it can be cached in a register in such a way that updates to the flags in
an interrupt handler to not be noticed, which in turn causes the process
doing the i/o to sleep forever.  Bug report and suggested fix from
Hiroshi HORIMOTO <horimoto@cs-yuugao.cs.sist.ac.jp>, PR $4460.
1997-11-20 04:09:19 +00:00
thorpej
1ff808f998 Add support for the D-Link DE-650, from Eric S. Hvozda <hvozda@helios.ack.org>,
PR #4455.
1997-11-20 04:02:34 +00:00
augustss
2e65c33090 Make sure isapnp_config() runs before we allocate the DMA channels. 1997-11-19 14:19:59 +00:00
augustss
470342eec5 Recognize HP ScanJet 5p. 1997-11-19 03:03:15 +00:00
augustss
f1a39fe2df Recognize another card and handle the case when both drqs are the same. 1997-11-18 19:24:46 +00:00
augustss
ba76377205 Make an XXX note about the broken ALS id. 1997-11-18 19:17:21 +00:00
bouyer
e0746c57db Fix for systems with multiple tl interfaces:
nullbuf (used to pad packets < ETHER_MIN_SIZE) is used for all tl
interfaces. Allocates only once, and never deallocate it (as we can't say
if another instance of the driver is interface is using it).
1997-11-18 12:26:09 +00:00
augustss
fe3e796d68 Dropped an else in last commit. 1997-11-18 11:34:50 +00:00
augustss
c622832eb0 Add another card and take care of swapped drqs. 1997-11-18 11:27:04 +00:00
thorpej
c356454eef Cosmetic changes. 1997-11-17 09:08:26 +00:00
thorpej
1413de77e0 KNF. 1997-11-17 09:02:27 +00:00
thorpej
fc216e9a85 Cosmetic changes. 1997-11-17 08:56:08 +00:00
thorpej
5bf3550518 KNF. 1997-11-17 08:52:38 +00:00
thorpej
3a748eae8f KNF. 1997-11-17 08:38:04 +00:00
thorpej
942f131579 Fix RCS ID. 1997-11-17 08:28:09 +00:00
thorpej
7602fbd930 Cosmetic changes. 1997-11-17 08:25:56 +00:00
thorpej
7e8aa22eaa Sigh, now that we've fixed a bug in PCI space management (the bug caused
i/o-mapped space to always be used), we discover that at least one
ThunderLAN interface can't read the EEPROM properly if memory-mapped
access is used.  Kludge around this for now by "prefering" i/o space.
1997-11-17 08:14:53 +00:00
mjacob
fee73b1391 Roll to 1.7 F/W level. 1997-11-17 05:07:02 +00:00
thorpej
639dc38fd4 Rewrite lc_isa_probe() to not scan i/o space for LEMAC cards, but rather
to look specifically at the address it was provided *only*, since the
scan isn't safe (it can stomp on cards that will be probed later, like
NE2000 clones).
1997-11-17 03:34:24 +00:00
thorpej
bbee567187 Fix a couple of bugs/annoyances in match/attach:
- Do PCI space configuration like the other drivers.  In particular,
  don't _disable_ the space we're not using because some lame firmware
  implementations might not reenable it on warm boot.  Also, prefer
  memory space always.
- Make match and info-gathering in attach table-driven.
- Rearrange things a bit to be a bit more visually pleasing during boot.

Also, fixup some #include problems.
1997-11-17 01:58:29 +00:00
thorpej
dffffc2120 Cosmetic change. 1997-11-17 01:44:58 +00:00
christos
473310c0a4 PR/4510: William Coldwell: Recognize TI thunderlan. 1997-11-16 22:38:33 +00:00
christos
739eae3e8b Regen. 1997-11-16 22:33:59 +00:00
christos
9279ce1dc1 PR/4510: William Coldwell: Add TI thunderlan support. 1997-11-16 22:33:19 +00:00
pk
39879b883e Use a 1-character queue so polled console output can be deferred if
regular I/O has been scheduled.
1997-11-12 22:17:07 +00:00
augustss
dd95190002 XXX Workaround for ViBRA cards with two 8 bit DMA channels. 1997-11-12 20:28:42 +00:00