summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
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-29rnd -> randomTheo de Raadt
1996-08-24probe-time fix provided by jfw@jfwhome.funhouse.comTheo 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-23silence probe moreTheo de Raadt
1996-08-23__OpenBSD__ messup fixedNiklas Hallqvist
1996-08-21check for __OpenBSD__, prep for tossing __NetBSD__?Theo de Raadt
1996-08-17Don't increment sc_errors right after calling wdcunwedge().Jason Downs
1996-08-16: 0 devicesTheo de Raadt
1996-08-15compatible, not compatiAbleshawn
1996-08-15make use of compatiable device id; delete redundant argumentshawn
1996-08-15clean up. we no longer need these.shawn
1996-08-15whoops, i made a fatal typoTheo de Raadt
1996-08-15pass in sc_delayioh tooTheo de Raadt
1996-08-15perfect attach messages, use bcopy/bzeroTheo de Raadt
1996-08-15do not attempt to isamatch pnp devicesTheo de Raadt
1996-08-15repair protoTheo de Raadt
1996-08-15warn about 0x666 thingy; use correct isa_attach_args for extent mapsTheo de Raadt
1996-08-15oops, forgot to exclude those unused extents before adding to mapshawn
1996-08-14rudimentary plug-and-play support, see pnp(4)shawn
1996-08-12fixed typoNiklas Hallqvist
1996-08-11Increased entropy through decreased typos.dm
1996-08-11Added arc4random and /dev/arnd.dm
1996-08-10indent nicelyTheo de Raadt
1996-08-10ncr53cxxx assembler by osymh@msu.oscs.montana.edu; with a touch moreTheo de Raadt
work a bunch of ports will be able to use this for their drivers.
1996-08-09Pedant mode: avoid mixed signedness comparisons.Niklas Hallqvist
1996-08-09Quirks for NEC 2Vi. I just had this play audio to me on the Amiga!Niklas Hallqvist
1996-08-08Shave some bytes never usedNiklas Hallqvist
1996-08-07correct b_resid handling; pointed out by banshee@gabriella.abattoir.comTheo de Raadt
1996-08-07It's silly to try and do the quirks table ala SCSI at this point; do itJason Downs
my way, instead.
1996-08-07bus.h using ATAPI, by niklas, plus a quirk table and some small fixes by me.Jason Downs
1996-08-07bus.h using wd/wdc drivers, by niklas. IDE now works on both i386 and amiga.Jason Downs
1996-08-06acd.c: Better support for drives that don't set themselves READY at boot;Jason Downs
atapi.h: fix a couple types that I missed.
1996-08-03two bugs pointed out by thorpeTheo de Raadt
1996-08-02DOH! transmit got broken in the last commit.Niklas Hallqvist
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-08-01doc where driver comes fromTheo de Raadt
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-29Add OpenBSD tags. Adapt to OpenBSD *_intr_establish calling conventionNiklas Hallqvist
1996-07-27mhitch; Don't flush the 53C94 fifo when starting dma_in. The fifo data isTheo de Raadt
valid at that point, and flushing the fifo will hang the system.
1996-07-27split cy driver upTheo de Raadt
1996-07-22Initial integration of pieces of Manuel's patch5. From the announce:Jason Downs
- integration of Milton Ngan's patch, which provide audio command support. ..with lots of cleaning up by me. Audio is still untested. This will change shortly.
1996-07-17fixes/update:chuck
- adjust txhiwat and mindma params a bit - fixed a couple of incorrectly labeled panic calls - the "location" was being calculated incorrectly in some cases (forgot to subtract off MID_RAMBASE). this only caused problem when trying to change the size of the tx/rx buffers (e.g. to 64KB). - fixed possible non-aligned DMA burst in the starting byte burst case. (e.g. if we could DMA 3 bytes, but only have 2 it is not legal for us to use MIDDMA_BYTE2 mode). - opt: on tx: try and avoid flushing the internal buffer by padding out the length of the last mbuf a bit (if possible)
1996-07-16midway fixes + new stuff:chuck
- alpha changes from cgd - merged multiple DRQ/DTQ ADD macros into a single DRQ and a single DTQ macro with a uniform interface to make the code simpler and easier to read. - en_start: only update atm_flags if EN_MBUF_OPT is enabled (which it should be) - for alburst: make sure we don't DMA more bytes than we need (on both tx and rx). if the alburst is larger than we need, drop to MIDDMA_WORD mode. - major change: enable the use of byte and 2 byte DMA on the trasmit side. this allows us to DMA from non-word sized/aligned mbufs directly. [the old code would always call en_mfix which would copy (or move) the data in order to ensure proper alignment... it turns out TCP gives us non-word sized/aligned mbufs when it is retransmitting, so we needed to handle this case more efficiently.] the following functions were changed to make this work: - en_dqneed: add an arg to let us know if we are transmitting or not. if we are TX, then we must take into account byte DMAs when estimating the number of DTQs we will need for a buffer - en_start: only mfix mbufs if DMA is disabled - en_txdma: only set launch.nodma if we have en_mfix'd the mbuf chain also, we may need a DTQ to flush the chip's internal byte buffer - en_txlaunch: only attempt a copy if we have the proper alignment. add byte dma code for the front and end of the buffer. make sure the internal dma buffer is flushed out. - en_dump: keep track of how many times we have to use byte sized DMA midwayreg: - add byte/2byte DMA defines midwayvar: - add new stat counter to monitor less-than-word lengthed DMA
1996-07-11fix:chuck
- en_mfix shouldn't touch M_EXT mbufs. change to avoid this [at the expense of allocating a new cluster mbuf to copy to]. XXX: en_mfix is getting called more often than I hoped it would (seems to happen when TCP retransmits... we get all sorts of odd sized, odd lengthed data mbufs, yuck). i may revise the xmit DMA code to use non-word sized dma.
1996-07-11fixes:chuck
- don't try and add a PDU trailer (or TBD for that matter) to an M_EXT mbuf. when M_EXT is set, the data area of the mbuf can be shared with other mbufs (see m_copym()), and writing to one M_EXT mbuf may invalidate another M_EXT mbuf (saw this with PDU trailers). - be sure to validate the length value from the PDU trailer so that it doesn't throw us out of sync with the chip (fixes yet another source of the dread "en_service: id mismatch" panic). - on recv, don't bother allocating an mbuf if mlen is zero since we are only going to toss the data anyway.
1996-07-07email address of an authorityTheo de Raadt
1996-07-04fix recording; from jabaker@grail.cba.csuohio.eduTheo de Raadt
1996-07-03ported to FreeBSD 2.2-960612-SNAP.chuck