summaryrefslogtreecommitdiff
path: root/sys/dev/ic/wdc.c
AgeCommit message (Expand)Author
2000-06-28remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>mrg
2000-06-12Add a callback (*irqack), for controllers that need special action to ackbouyer
2000-06-11Relax condition on 'sn' for atapi probe, it can be different from 0x1 withbouyer
2000-05-12Accept any 'sc' value when probing atapi drives: with some drives, orbouyer
2000-04-05avoid using uninitalised variables inside WDCDEBUG.mrg
2000-04-04Add checks to detect busy-waits, conditionnal on new debug flagbouyer
2000-04-04Better fix to previous: delay(100) before the IDENTIFY, and if it failsbouyer
2000-04-01Bump delay() from 100 to 1000000 before attempting a IDENTIFY just after abouyer
2000-04-01- DMA code cleanup: pciide_dma_finish() doesn't stop/unload the current DMA opbouyer
2000-03-29Remove reduncdant decl of wdc_kill_pending - it's in <dev/ic/wdcvar.h>.simonb
2000-03-23s/32-bits/32-bit/ (Hi Al!)soren
2000-03-23New callout mechanism with two major improvements over the oldthorpej
2000-03-20- Test the generic device active flag instead of home grown one.enami
2000-02-14- Be more strict in status check before sending a command (make surebouyer
2000-01-17Improve the downgrade logic:bouyer
1999-11-28Improve a few debug messages.bouyer
1999-10-21If IRQ was not for us, add back WDCF_IRQ_WAIT to the flags, so thatbouyer
1999-10-20Cancel active transfers on aic/wdc detach.enami
1999-09-23Allow to detach wdc, atapibus, wd and cd.enami
1999-08-30If we are using UDMA mode > 2 and get a DMA error, downgrade to UDMA mode 2bouyer
1999-08-25Guard pool_get()/pool_put() with splbio()/splx(). Fix kern/8245.bouyer
1999-08-09- use pool(9) for wdc_xfer, instead of managing a free list.bouyer
1999-08-06- Add some debug printf (WDCPROBE) in _wdcreset_wait(), I've needed thesebouyer
1999-07-30Guard tsleep() with a while (!(wdc_c->flags & AT_DONE)) {}, as suggested bybouyer
1999-06-23Resurect the old register read/write test for non-ATA/ATAPI drives, to avoidbouyer
1999-04-11Fix probe code for IDE devices:bouyer
1999-04-01- change the interrupt routines to take a 3rd arguments, set to 1 if webouyer
1999-03-31Increase some DELAY(), this seems required on some hardware (I'm not sure ifbouyer
1999-03-29Remove the hack to attach devices responding with ATA signatures as atapi ifbouyer
1999-03-25Avoid busy-waiting when possible if we are not polling (real IRQ or timeoutbouyer
1999-03-10Add a new disk flag: DRIVE_OLD for pre-ATA disks. probe routine will now setbouyer
1999-03-07Keep track of CRC errors in Ultra-DMA mode. If we noticed a CRC error and webouyer
1999-02-21wdcwait is called initially without any device on my thinkpad.abs
1999-02-20Only #define WDCDEBUG if it isn't already defined (e.g. by some optionshubertf
1999-02-18Don't print an extra newline if the controller doesn't support 32 bits access.bouyer
1999-02-15Be less strict on ATAPI signature, at last one CD puts 0x00 in sc insteadbouyer
1999-02-08There's no ATA draft where it is required for the drive to set DRDY | DSC whenbouyer
1999-01-18move wd.c:print_wderror() to ata.c:ata_perror().bouyer
1998-12-16Keep track of DMA errors, and downgrade the transert mode (UDMA ->DMA,bouyer
1998-12-08Add a missing 'return' in an error path; noticed by Matthias Drochner.bouyer
1998-12-03Rename pio_mode, etc ... to PIO_cap, etc ... for consistency with thebouyer
1998-12-03UDMA->Ultra-DMA in a printfbouyer
1998-12-03add a udma_mode field to wdc_softc, and use it the same way dma_mode is usedbouyer
1998-12-02In struct wdc_xfer, change 'channel' to a pointer to a channel_softc, to avoidbouyer
1998-12-02- change drive_flags from u_int8_t to u_int16_tbouyer
1998-11-29wdcstart(): Re-add support of shared xfer queue across multiple channelsbouyer
1998-11-23Implement the AT_READREG flag. This is needed for the CHECK POWER MODEkenh
1998-11-21in wdc_softc: access the per-channel data via a pointer array instead ofdrochner
1998-11-20Implement reference counting for ATA adapters.thorpej
1998-11-19Sigh, my bad. Check for chp->wdc being NULL before trying to deference it.kenh