summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
1997-01-29Export comdefaultrateNiklas Hallqvist
1997-01-24bug fix:chuck
- if aal5 frame has a CRC error then the length field in the aal5 trailer may not be valid, so we can not use it [and we must dump the frame] [Yuhang Sun <sunyh@dworkin.wustl.edu> & chuck@ccrc.wustl.edu]
1997-01-15sc_link.adapter_buswidth, set to 16 if wide scsi. if 0 it gets convertedTheo de Raadt
to 8 internally so that drivers do not need to init it for regular scsi :-)
1997-01-15more missing prototypes and other warnings fixedkstailey
1997-01-15added prototypeskstailey
1997-01-05absent pcmcia cards do not interruptTheo de Raadt
1996-12-16add "return (0)" to end of zsstop() since it's not a void function anymorekstailey
1996-12-10the real changes by niklas... I did not merge correctlyTheo de Raadt
1996-12-10clr TS_WOPEN if bailing on cua opensTheo de Raadt
As well, at this point I've also done fancy cvs repository mangling to ensure that the com* files in sys/dev/ic maintain the history we had before. (Yes, I cleaned up the 2.0 tags too..)
1996-12-03clr TS_WOPEN if bailing on cua opensTheo de Raadt
1996-12-03void cystop() -> int cystop()kstailey
1996-12-03void zsstop() -> int zsstop()kstailey
1996-11-30Cleaned up. lpt is MI now.Niklas Hallqvist
1996-11-29Missing pieces of new bus.h that CVS lost behind my backNiklas Hallqvist
1996-11-28Adaption to new bus.h from NetBSD. Various driver has been updated toNiklas Hallqvist
NetBSD 961107 state. Other has not, partly because sometimes the bus.h changes was coupled with other changes.
1996-11-25Make CONADDR and CONUNIT overrideableNiklas Hallqvist
1996-11-23added const to second parameter of cfprint_t routineskstailey
1996-11-21correct version of last commitchuck
1996-11-21midway fixes:chuck
1. fix possible hang in en_txlaunch(). when attempting to extend the length of an mbuf to avoid a flush we should extend it by cnt [which is ((need - len) % 4)] rather than 4 - cnt. also, add an EN_DEBUG printf() when we pad/FLUSH a buffer to help with debugging/understanding what the driver is up to. 2. use interface packet counters 3. when turning off a recv VCI we recompute the new mode. make sure we don't include the "in service" bit in the new mode, otherwise a VCI may appear "hung" if you turn it off while a service interrupt is pending. 4. when shutting down a VCI that is still receiving data, don't bother going into "drain mode" if only the hardware in service bit is set (otherwise the VCI may get "hung" in drain mode). as a result of this we may get "unexpected rx interrupt" messages which are not really an error, so put this printf in EN_DEBUG. 5. be sure to zero txspeed[lcv] when enabling a VCI (start at full speed). (hooks for setting txspeed[] are currently not in the driver, but we are playing with it locally). credits: #1: Detected by: Zdenek Salvet <salvet@horn.ics.muni.cz>, fix by me. #2: Contributed by: Zdenek Salvet <salvet@horn.ics.muni.cz> #3,#4,#5: Detected by: Milind M. Buddhikot <milind@dworkin.wustl.edu>, fixed by me.
1996-11-12Arrival of new bus.h from NetBSDNiklas Hallqvist
1996-11-12s/bus.h/bus.old.h/ to make the transit to the bus_space bus.h an easy roadNiklas Hallqvist
possibly taken in small steps
1996-11-09Break shall be handled as data == 0 and FE bit set; from TheoThorsten Lockert
1996-11-09netbsd pr#2919 (jukka.partanen@research.nokia.com):chuck
- fix compiler warnings
1996-10-31$OpenBSD RCSIDsNiklas Hallqvist
1996-10-30cominit is used from the outside (the alpha port)Niklas Hallqvist
1996-10-22patch com speed initializationJason Downs
1996-10-18Fix comment typoNiklas Hallqvist
1996-10-18Fix typo introduced when adding __OpenBSD__ checksNiklas Hallqvist
1996-10-16contextual usageTheo de Raadt
1996-10-16latest pdq from matt thomasTheo de Raadt
1996-10-16Wall happinessTheo de Raadt
1996-10-16unused variablesTheo de Raadt
1996-10-16-W cleanTheo de Raadt
1996-10-12on newer cards, use word count for SET_TX_AVAIL_THRESH; from numerous ↵Theo de Raadt
people, gleamed from plan9/bsdi drivers, and confirmed in last two sentences in 3c590 manual
1996-09-29Fix for PCI etherlink3 packet-receive bug; netbsd pr#2661, ↵Theo de Raadt
jonathan@DSG.Stanford.EDU
1996-09-28Apply Niklas align fix. (better than my try)Per Fogelstrom
1996-09-25Not a good idea. Revert to r1.5 + changesPer Fogelstrom
1996-09-25Alignment fix, another aproach as the previous broke bpf..Per Fogelstrom
1996-09-24do not delay excessively on pcmcia; from peterTheo de Raadt
1996-09-23remove bit definition. only ports left.Michael Shalayeff
1996-09-23add mc6845 CRTC chip registers and definitions.Michael Shalayeff
derived from pcvt_hdr.h file.
1996-09-17This driver and some other ether drivers violates the alignment ofPer Fogelstrom
struct ether_header by placing it's start on a non 32bit int boundary. On processor with alignment restrictions (like MIPS) this will fail badly. This is the first driver to have been fixed. The fix is to copy the ether header to a separate buffer instead of into the mbuf.
1996-08-29Newer, better, register/device defines from FreeBSD.Jason Downs
1996-08-29sunos-like cua behaviour; inspired by budd@cs.bu.edu in his scn.cTheo de Raadt
1996-08-23Make more MI, closer to compile on amiga, still some problems though.Niklas Hallqvist
Also removed unnecessary static specifiers that maess up DDB
1996-08-21check for __OpenBSD__, prep for tossing __NetBSD__?Theo de Raadt
1996-08-15clean up. we no longer need these.shawn
1996-08-02fix:chuck
- fix memory sizing bug for 2MB cards. driver now works for both 512KB and 2MB ATM cards (we just got 10 2MB cards).
1996-07-31Drop the ed_ring structure in favour of a byte-array and offset constants.Niklas Hallqvist
Makes the code much more robust agains MD paddings. Use new bus.h.
1996-07-27split cy driver upTheo de Raadt