NetBSD/sys/dev/ic
chuck 63c14f2d75 MAJOR CHANGES: [contributed by Chuck Cranor <chuck@ccrc.wustl.edu> and
Anne Hutton <hutton@isi.edu>]:
   - add support for Adaptec 155 PCI ATM cards (e.g. ANA-5940)
          - add sc->is_adaptec to handle differences between cards.
          - break out MID_MK_TXQ/MID_MK_RXQ seperate macros to handle
                  the new Adaptec format TXQ/RXQ.
          - adjust en_dqneed to return 1 on ADP (since the Adaptec can
                  DMA anything in one DRQ/DTQ!)
          - add hook for a bus specific reset function (adaptec has
                  a seperate reset register that needs to be hit when
                  resettting the midway).
          - adjust DMA test to not worry about burst sizes on the
                  adaptec (since it handles it all for us!) and to handle
                  the new DTQ/DRQ format.
          - add Adaptec DMA support to en_txlaunch() and en_service()


BUG FIXES:
   - fixed receiver panic under heavy load ("lost mbuf in slot 0!").
          when the reassembly buffer overflows, the T-bit is set in
          the RDB and the data field is empty.  en_service() sets up
          a 4-byte (RDB size) dummy DMA without IF_ENQUEUE.  but the
          recv intr handling in en_intr() always does IF_DEQUEUE.
          as a result, a successive recv intr loses its mbuf and
          leads to a panic.  the solution is to only IF_DEQUEUE if
          the interrupt has non-zero length (indicating that there
          is an mbuf to get).   in order for this to work, EN_DQ_MK
          must always be non-zero.   we do this by or'ing in an unused
          bit (0x80000).
                  reported by: Kenjiro Cho <kjc@csl.sony.co.jp>

   - fix setting of transmit channel when txspeed[] is non-zero
          (e.g. traffic shaping).    the old scheme didn't work
          properly (it allowed the same VCI to use multiple tx channels
          thus defeating the txspeed[] parameter).   the new scheme
          statically assigns a VC to a channel when txspeed[] is set.
          [note that the code to set txspeed[] isn't in the driver right
          now since a MI interface to do this hasn't been made yet]
          we add sc->txvc2slot[] and sc->txslot[n].nref for this.
                  reported by: Kenjiro Cho <kjc@csl.sony.co.jp>,
                                  Milind M Buddihikot <milind@ccrc.wustl.edu>,
                                  Dong Lin <dong@eecs.harvard.edu>

   - when doing SRAM copies, be sure to round up the length to the next
          largest word (otherwise the driver will try to do a byte clean
          up DMA and then get an ID error interrupt).


MINOR CLEANUPS:
   - clean up loops in DMA test
                  contributed by: Kenjiro Cho <kjc@csl.sony.co.jp>

   - restructure and cleanup of en_read/en_write macros/inlines

   - clean up some byte ordering stuff so that we are consistant throughout
          the driver
1997-03-20 21:34:42 +00:00
..
ad1848reg.h normalize off-by-four ad1848 register offsets. 1997-03-19 06:45:21 +00:00
aha.c New ARP system, supports IPv4 over any hardware link. 1997-03-15 18:09:08 +00:00
ahareg.h New ARP system, supports IPv4 over any hardware link. 1997-03-15 18:09:08 +00:00
ahavar.h New ARP system, supports IPv4 over any hardware link. 1997-03-15 18:09:08 +00:00
aic7xxx.c fixes from Matt Jacob so that these can compile and run on the Alpha. 1997-03-13 00:38:48 +00:00
aic7xxxreg.h fix some spelling errors noticed by Charles Kane <ckane@mipos2.intel.com>. 1997-03-09 06:10:32 +00:00
aic7xxxvar.h fixes from Matt Jacob so that these can compile and run on the Alpha. 1997-03-13 00:38:48 +00:00
aic6360.c Fill in sc_link.max_target 1996-12-10 21:27:16 +00:00
am7930.c Implement set_format. 1997-03-20 16:51:38 +00:00
am7930reg.h
am7930var.h
am7990.c Signed shifts are evil. 1997-03-17 18:29:56 +00:00
am7990reg.h New ARP system, supports IPv4 over any hardware link. 1997-03-15 18:09:08 +00:00
am7990var.h - Add support for media selection via if_media. If the front-end 1997-03-17 03:14:03 +00:00
bha.c fixes from Matt Jacob so that these can compile and run on the Alpha. 1997-03-13 00:38:48 +00:00
bhareg.h typo in definition of extended-geometry register. 1997-01-04 16:47:03 +00:00
bhavar.h Deal with targets > 7 on wide Buslogic controllers. Remember the "wide" 1996-12-20 21:35:10 +00:00
cd1400reg.h New Cyclades driver from Timo Rossi 1996-09-24 18:02:33 +00:00
com.c don't clobber IER in cominit(). (suggested by mycroft.) 1997-01-30 19:42:33 +00:00
comreg.h Wrap the definitions of CONADDR and CONUNIT in #ifndef. 1996-09-06 05:06:01 +00:00
comvar.h move cominit() prototype to comvar.h, so that ports which use 'com' 1996-11-13 19:41:35 +00:00
cs4231reg.h
cy.c New bus.h implementation/interface: 1996-10-21 22:24:37 +00:00
cyreg.h New Cyclades driver from Timo Rossi 1996-09-24 18:02:33 +00:00
cyvar.h New bus.h implementation/interface: 1996-10-21 22:24:37 +00:00
dc21040reg.h Resolve conflicts from merge. 1997-03-17 03:44:49 +00:00
dp8390reg.h
elink3.c New ARP system, supports IPv4 over any hardware link. 1997-03-15 18:09:08 +00:00
elink3reg.h * make sure 100mbit media-present bits don't collied with 3c509 1996-12-30 19:18:28 +00:00
elink3var.h New ARP system, supports IPv4 over any hardware link. 1997-03-15 18:09:08 +00:00
hayespreg.h
i8042reg.h
i8237reg.h
i8253reg.h
i82586reg.h
i82595reg.h
ics2101reg.h
isp.c NetBSD RCS ID tweaks, a few comment block tweaks. Also, make copyright 1997-03-12 21:06:41 +00:00
ispmbox.h NetBSD RCS ID tweaks, a few comment block tweaks. Also, make copyright 1997-03-12 21:06:41 +00:00
ispreg.h NetBSD RCS ID tweaks, a few comment block tweaks. Also, make copyright 1997-03-12 21:06:41 +00:00
ispvar.h Make the microcode table const. 1997-03-13 03:33:03 +00:00
lpt.c update these so they compile whether or not __BROKEN_INDIRECT_CONFIG 1996-12-05 01:25:23 +00:00
lptreg.h Drop LPT_NPORTS to 4 from 8. Some lpt units require only 4 I/O ports 1996-11-23 23:22:50 +00:00
lptvar.h update these so they compile whether or not __BROKEN_INDIRECT_CONFIG 1996-12-05 01:25:23 +00:00
mb86960.c New ARP system, supports IPv4 over any hardware link. 1997-03-15 18:09:08 +00:00
mb86960reg.h
mb86960var.h New ARP system, supports IPv4 over any hardware link. 1997-03-15 18:09:08 +00:00
mc146818reg.h properly #define MC_REGB_SQWE. From Matt Jacob 1997-03-12 06:53:42 +00:00
midway.c MAJOR CHANGES: [contributed by Chuck Cranor <chuck@ccrc.wustl.edu> and 1997-03-20 21:34:42 +00:00
midwayreg.h MAJOR CHANGES: [contributed by Chuck Cranor <chuck@ccrc.wustl.edu> and 1997-03-20 21:34:42 +00:00
midwayvar.h MAJOR CHANGES: [contributed by Chuck Cranor <chuck@ccrc.wustl.edu> and 1997-03-20 21:34:42 +00:00
ncr53c9x.c New ARP system, supports IPv4 over any hardware link. 1997-03-15 18:09:08 +00:00
ncr53c9xreg.h New ARP system, supports IPv4 over any hardware link. 1997-03-15 18:09:08 +00:00
ncr53c9xvar.h New ARP system, supports IPv4 over any hardware link. 1997-03-15 18:09:08 +00:00
ncr5380.doc
ncr5380reg.h
ncr5380sbc.c Fix a couple of splhigh()s that should be splbio(). 1997-03-04 21:42:32 +00:00
ncr5380var.h Add the new member "sc_no_disconnect" to ncr5380_softc, and 1997-02-26 22:22:13 +00:00
nec765reg.h
ns16450reg.h
ns16550reg.h
pdq.c backout kprintf changes 1996-10-13 01:37:04 +00:00
pdq_ifsubr.c New ARP system, supports IPv4 over any hardware link. 1997-03-15 18:09:08 +00:00
pdqreg.h
pdqvar.h New ARP system, supports IPv4 over any hardware link. 1997-03-15 18:09:08 +00:00
smc90cx6.c backout kprintf changes 1996-10-13 01:37:04 +00:00
smc90cx6reg.h
smc93cx6.c New bus.h implementation/interface: 1996-10-21 22:34:38 +00:00
smc93cx6var.h New bus.h implementation/interface: 1996-10-21 22:34:38 +00:00
uha.c Fill in sc_link.max_target 1996-12-10 21:27:16 +00:00
uhareg.h Minor changes. 1996-09-01 00:54:34 +00:00
uhavar.h New bus.h implementation/interface: 1996-10-21 22:34:38 +00:00
wdcreg.h
z8530.doc
z8530reg.h Add ZSWR1_IMASK (all intr. enable bits in WR1) 1996-12-13 21:02:39 +00:00
z8530sc.c New version of the z8530 driver that should permit the mac68k port 1996-12-17 20:42:40 +00:00
z8530sc.h Add declaration for zs_check_kgdb() 1997-02-24 16:01:39 +00:00
z8530tty.c Tweak the KGDB glue slightly - do the printf here. 1997-02-24 16:03:05 +00:00