summaryrefslogtreecommitdiff
path: root/sys/dev/ata/wd.c
AgeCommit message (Collapse)Author
1999-11-17New interface to ATA registers that goes through the lower-level deviceConstantine Sapuntzakis
driver (pciide, wdc, etc.) Remove #define WDCDEBUG from top of files More fixes to ATAPISCSI logic: Not all devices transition correctly between phases. Devices are supposed to keep BSY high until they've set the registers to the next sensible state. Some devices drop BSY and leave the registers in an old or nonsense state. Our polling code is extremely sensitive to this (though an early itnerrupt could also observe this). So, if the device is in an unexpected state, the new polling code waits for a while in the hope that it enters a better state. This seems to fix many of the problems reported. Also, there was a horrible bug which would cause sense to fail on a ATAPI command that sent data to the drive
1999-10-09Fix printout at attach time. Print PIO/DMA mode information after havingConstantine Sapuntzakis
printed line with the name of hard disk.
1999-10-09wdc layer work:Constantine Sapuntzakis
Separate wdc_probe_caps into wdc_probe_caps and wdc_print_caps for more flexibility in printing capability information. Get rid of wdc_final_attach. Include name of device (e.g. cd0), if possible, on errors. atapiscsi layer work: Put a pointer to the SCSI device into ata_drive_datas' drv_softc field Simplify, simplify, simplify. Got rid of a bunch of fields in atapiscsi_softc Delay printing capabilities until we know the real device name (e.g. st0)
1999-08-15o Correctly set type and typename in driver-generated labelTodd C. Miller
Should really use viscopy() when copying atap_model -> d_packname. When wd's become sd's this will be trivial (viscopy() lives in sd.c)
1999-08-10support DIOCRLDINFOTheo de Raadt
1999-08-05Make IDE compile on alpha again:Niklas Hallqvist
use b* instead of mem* functions, adhere to NISADMA for DMA support.
1999-07-22shorten dmesg outputTheo de Raadt
1999-07-22Fix bad144intern.Constantine Sapuntzakis
1999-07-20126 -> NBT_BADConstantine Sapuntzakis
Fix disklabel/bad sectors stuff in wd
1999-07-18Import of NetBSD ATA/IDE stuff.Constantine Sapuntzakis
Introduction of home-grown To enable this stuff in your configuration, look at the NEWATA conf file and go through dev/isa/files.isa dev/pci/files.pci conf/files arch/i386/conf/files.i386 and follow the instructions on commenting/uncommenting stuff