cgd
0f7f390b49
allow bus-specific lance drivers to use machine-independent buffer/descriptor
...
copy functions, and convert isa and pmax drivers to do so.
1995-11-25 01:23:51 +00:00
pk
2f9169d20b
Correct NE7CMD_FORMAT command (from John Kohl; PR#1637).
1995-10-20 00:02:20 +00:00
mycroft
f096f370fb
Use SET(), CLR(), and ISSET() macros.
...
Rename CFCR to LCR, and cache its value.
Check MSR before transmitting, for better flow control.
Preserve LCR_SBREAK inside comparam().
1995-10-15 19:43:04 +00:00
chopps
78bd894529
add prototypes for isr stuff fixes pr# 1284 and 1569
1995-10-09 15:19:58 +00:00
chopps
3973aeb080
fix hang bug from Ignatios Souvatzis <ignatios@theory.cs.uni-bonn.de>
1995-10-09 14:05:24 +00:00
mycroft
b216bead49
Add an Adaptec 2940 driver, by John Aycock and Justin Gibbs, ported to NetBSD by Stefan
...
Grefen, with several bug fixes by me.
1995-10-09 09:49:30 +00:00
mycroft
393a69d6db
Modularize the CCB/MSCP/ACB/ECB handling a little. No functional changes.
1995-10-03 20:58:56 +00:00
pk
601a054fb3
Remove a sun3-ism.
1995-09-26 21:04:27 +00:00
thorpej
26419c5a8b
Don't declare Debugger(). It's handled in <sys/systm.h>
1995-09-26 19:31:15 +00:00
thorpej
dd2f3dddef
Don't declare Debugger(). It's handled in <sys/systm.h>
1995-09-26 19:24:26 +00:00
pk
0fbf2ca04a
Make *print() a message if no scsibus was attached. Also, return something
...
valid.
1995-09-14 20:43:09 +00:00
pk
589d83d6a8
Patches from Jason Thorpe to deal with 4/110 scsi (PR#1422).
...
Also repairs a problem noted by David Jones: detect scsi phase correctly.
1995-09-03 22:26:02 +00:00
leo
b7680d7c14
Select the right register structure for the Atari. Although it's big-endian,
...
it uses the odd bytes. Also make the registers volatile.
1995-08-20 13:24:05 +00:00
cgd
b0dc5d3d7f
local adaptations, and fix a could of compilation errors
1995-08-19 04:35:18 +00:00
cgd
01597582c1
fix botch in one of my previous imports
1995-08-19 04:15:29 +00:00
cgd
9980150670
Generic FDDI support by Matt Thomas. Support for DEC "PDQ" FDDI chipset
...
and for the PCI attachment of said chipset ("if_fpa"), also from Matt Thomas.
Arguably, pdq* doesn't belong in sys/dev/ic, but it's going to be shared by
various bus attachment devices at some point in the future, and there's no
other place that seems to fit as well.
1995-08-19 00:59:47 +00:00
cgd
c9dbf2d1d2
clean up 7/26 de snapshot import
1995-08-17 18:04:55 +00:00
mycroft
80d7b0695a
minphys() functions really should return void.
1995-08-12 20:30:45 +00:00
mycroft
e4413d1a10
Fix another comment.
1995-08-07 14:26:51 +00:00
mycroft
f657f5bf3e
Make this interface simplex. It's more efficient, and sidesteps the
...
problem of receiving our own multicasts in promiscuous mode. Also, fix
some outdated comments.
1995-08-07 14:16:26 +00:00
cgd
830a91b2e9
update SCSI minphys routines' definitions to match standard minphys()
...
definition and usage.
1995-07-24 07:16:44 +00:00
cgd
979cf41d87
merge changes from update
1995-07-24 05:26:53 +00:00
mycroft
607e071f1b
Fix pasto.
1995-07-24 04:34:51 +00:00
mycroft
8170afdb2d
Copy changes from ISA version.
1995-07-24 04:15:35 +00:00
mycroft
57528ce346
Init functions are always called at splimp().
1995-07-23 20:36:51 +00:00
mycroft
465cfd15f0
Always use m_pkthdr.len on output. Panic if M_PKTHDR is not set.
1995-07-23 16:32:33 +00:00
brezak
693043d786
GUS audio driver from John Kohl.
1995-07-19 19:58:09 +00:00
brezak
f8b400c446
Change DEBUG-->AUDIO_DEBUG. PR# port-sparc/1241
1995-07-19 19:50:16 +00:00
pk
c5ad4c85f0
ncr5380 chip definitions and MI part of driver.
1995-07-08 21:30:41 +00:00
brezak
0bdd4aa7c2
add support for cs4231
1995-07-07 02:11:45 +00:00
mycroft
eb99dcc09a
Fix a condition where ttywait() wouldn't be woken up. Also, short-circuit
...
the case of no pending input in compoll().
1995-07-04 06:47:18 +00:00
mycroft
f4b5f723e0
Remove references to if_addrlist.
1995-07-02 00:16:00 +00:00
cgd
2b71eae2c7
note that most of dev/ic's contents have changed names
1995-06-28 04:30:30 +00:00
cgd
28cbee6941
move to more appropriate (...reg.h) names.
1995-06-28 04:02:13 +00:00
cgd
50937bb63a
add charles's mostly-machine-independent lance driver, which is used
...
by the Alpha port.
1995-06-28 02:24:50 +00:00
cgd
c319ff6546
these have moved to more appropriate names
1995-06-28 02:23:27 +00:00
chopps
5ad7f31079
udpate to match ifnets new use of sys/queue.h
1995-06-27 13:13:32 +00:00
briggs
a68aae96fc
David Leonard (leonard@dstc.edu.au) noticed an embedded comment
...
delimiter in a comment within a #define (ZSWR14_DTR_REQ). Inserted
spaces in case someone wants to use this define at some point.
1995-06-19 13:15:08 +00:00
mycroft
d9fc8ef092
Remove check for if_addrlist == 0; if_attach() always puts one address on
...
the list, so this is a noop.
1995-06-12 00:09:42 +00:00
cgd
d4f62dcb69
update from Ignatios Souvatzis
1995-06-07 00:13:52 +00:00
mycroft
4bfd7749ad
Various:
...
* Check for CTS in the correct register.
* Only do a selwakeup() if we output something.
* Don't make assumptions about what TTYDISC does.
1995-06-05 19:08:09 +00:00
cgd
89c30bb2e3
do the right thing with fixed-size types.
1995-06-05 00:49:45 +00:00
cgd
c71cccacde
kill old Id and Log. add NetBSD Id
1995-06-05 00:46:30 +00:00
cgd
551bcffab9
dc21040 driver, from Matt Thomas
1995-06-05 00:38:18 +00:00
mycroft
5b37a8fded
Handle BREAK correctly when not entering DDB.
1995-06-04 20:50:14 +00:00
mycroft
38847d04c0
Add an input FIFO, and fix several flow control problems. Based on code from
...
Felix A. Croes.
1995-06-04 20:39:22 +00:00
jtc
d045544ebd
Changed ns82450 to ns8250 and dropped ns82550 from probe console messages.
1995-06-01 21:26:51 +00:00
mycroft
addaff473b
Only use the `no pending interrupt' bit in the IIR; the other bits
...
are too unreliable on clone chips.
1995-05-28 03:26:37 +00:00
cgd
c821cb684a
(1) conditionalize debugger usage in comeint with DDB, not COMCONSOLE;
...
latter would lead to undefined symbols if DDB not defined.
(2) check for break on console, and therefore debugger entry (if ddb
in kernel) earlier, so that the device doesn't need to be open.
(3) return immediately after breaking into the debugger in comeint().
(4) only do the normal character input routine in comintr if receive
mask yeilds _EXACLTY_ LSR_RXRDY. if there's only a receive
error, or there's a receive error _and_ a received character,
do comeint().
(former two by me. latter two from Bob Baron <rvb@cs.cmu.edu>.)
1995-05-12 17:54:41 +00:00
pk
7d244351cf
Add `evcnt' field.
1995-05-04 19:43:27 +00:00