summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
1997-04-10queue handling hacks for chips like aic7860 which have small numbers of SCB's.Theo de Raadt
by gibbs@freebsd.org
1997-04-10Need to separate i/o and mem on mipsPer Fogelstrom
1997-04-10Zilog z8536 defsPer Fogelstrom
1997-04-10Ooops! These have to be committed after pcidevs. Doing a make and commitPer Fogelstrom
all together at the same time yields the wrong revision number. Sorry.
1997-04-10These two was not ready for commit yet. Backed out.Per Fogelstrom
1997-04-10Add Matrox MystiquePer Fogelstrom
1997-04-09change space to "_" in tsleep() stringkstailey
1997-04-08minor cleanup regarding forward scrolling usage, also only scroll one linemichaels
at a time rather than 10. (slower, but not so distractingly ugly anymore)
1997-04-08use a different, smaller font.michaels
1997-04-07cf_flags & 0x20 forces device to be found even if it won't probe.Jim Rees
1997-03-30no more 2(two) md5 libs in kernel!Michael Shalayeff
tested for rnd(4).... should work for ip too, since it's the copy of ip_md*. use sys/md5k.h for protos.... std iface forever! hurray!
1997-03-26deal with CD drives that indicate 2352 bytes per block...Theo de Raadt
1997-03-2164-bit clean. if_ed.c now works on alpha.Niklas Hallqvist
1997-03-20update for adaptec supportchuck
1997-03-20MAJOR CHANGES: [contributed by Chuck Cranor <chuck@ccrc.wustl.edu> andchuck
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> - 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] contributed by: Yuhang Sun <sunyh@dworkin.wustl.edu> & chuck - 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: - add some extra support for a few more versions of FreeBSD contributed by: Kenjiro Cho <kjc@csl.sony.co.jp> - 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-20regenchuck
1997-03-20 - add Adaptec ATM ID's (0x5900, 0x5905). still trying to find out how theychuck
correspond to the ANA numbers... certainly includes ANA-5940. - add Efficient Nets product 0x0000. according to linux pci.h the 0x0000 is an FPGA version of the midway card and the 0x0002 is the ASIC version.
1997-03-17Serial console trouble again...Per Fogelstrom
1997-03-12The stupid "use console before configured" scheeme strikes again :-)Per Fogelstrom
1997-03-12Need this for arc/pci...Per Fogelstrom
1997-03-12Mips ARC systems (hmmm..) can also have PCI buses...Per Fogelstrom
1997-03-12Add a define for another compatible chip.Per Fogelstrom
1997-03-06Initial implementation of support for calling hardpps() on carrier enableThorsten Lockert
1997-03-06Add control flag to call hardpps() on carrier changeThorsten Lockert
1997-03-03Sync with NetBSD which is syncing with FreeBSD, whee!Todd C. Miller
OpenBSD-specific changes are surrounded by #ifdef __OpenBSD__ or #ifndef __OpenBSD__
1997-03-01Corrected ISA memory mapping errors that caused PCMCIA to be broken.Niklas Hallqvist
Thanks to Angelos who helped my debug this.
1997-02-27M.I. NCR53c9x/ESP driver, derived from sparc/alpha esp.c. From Jason Thorpebriggs
and NetBSD.
1997-02-24We do NOT want interrupts when in polled mode. Fixes ATAPI bootNiklas Hallqvist
failures. THanks go to Angelos D. Keromytis for debugging this and devising the final fix. Also correct some diagnostic printfs. Do some KNF and unmap registers on probe failure. add a delay(10) to a busy-wait loop solely depending on CPU speed earlier.
1997-02-23Just some more KNFNiklas Hallqvist
1997-02-23Some KNF, but more important: fix disklabels for audio CDs +Niklas Hallqvist
preliminary support for multi-session CDs although the ISO9660 spoofing must be remade for that to really work.
1997-02-23#ifdef __NetBSD__ -> #if defined(__NetBSD__) || defined(__OpenBSD__)Todd C. Miller
1997-02-23Fix mem leak, count partitions (tracks) right for audio disklabels. ↵Niklas Hallqvist
Partition offset & sizes still worng in this case though.
1997-02-23Audio CDs were read as data CDs before, which broke audio.Niklas Hallqvist
This change fixes that and tries to make sane disklabels for audio disks, however it fails at that, but I think the fix is good enough to go in. Hopefully the disklabel will be really fixed tomorrow.
1997-02-21We do not use the rsr fieldNiklas Hallqvist
1997-02-19NS DP875x series clock chip definition file.Per Fogelstrom
1997-02-13Remove statics to ease DDB debuggingNiklas Hallqvist
1997-02-13riscpc++Per Fogelstrom
1997-02-06Changes to ramdisk driver to support disklabels. Work done by Theo.Dale S. Rahn
This will require changes for each machine type. changes to MAKEDEV, suggest treating rd like sd --- sd*|vnd*|ccd*|rd*) ... rd*) name=rd; blk=17; chr=17;; --- Make certain that majors and minors are correct conf.c add a entry in cdevsw for rd (previously was only in bdev) --- cdev_decl(rd); ... struct cdevsw cdevsw[] = { ... cdev_disk_init(NRD,rd), /* 17 ram disk driver*/ --- other changes to how rdconfig is called may be appropriate, it must now be configured using the "raw" parition typically 'c'.
1997-02-04Make sure arc4random gets initialized eventually.dm
1997-02-01put an harmless waring behind an DIAGNOSTICThomas Graichen
1997-01-31off-by-one in partition indexing, netbsd pr#3161, kleink@layla.inka.deTheo de Raadt
1997-01-31if error, b_resid = b_bcountTheo de Raadt
1997-01-29Export comdefaultrateNiklas Hallqvist
1997-01-29Match com changes.Jason Downs
1997-01-26Some more KNFNiklas Hallqvist
1997-01-26Fixed a busification bug (some may well remain), as well as some KNF issuesNiklas 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-24Sync with NetBSD 961207Niklas Hallqvist
1997-01-24Sync with NetBSD 960123Niklas Hallqvist
1997-01-23changed aicprint() to scsiprint()flipk