Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   bouyer
Date:           Mon Jan 18 20:06:25 UTC 1999

Modified Files:
        src/sys/dev/ata: ata.c atareg.h atavar.h wd.c
        src/sys/dev/ic: wdc.c wdcreg.h
Log Message:
move wd.c:print_wderror() to ata.c:ata_perror().
In wdc_probe_caps() add code to guess the ATA revision supported (if
ATA4 if Ultra-DMA, ATA2 if PIO mode > 2). We can't rely on param.atap_ata_major
here, at last one Ultra-DMA drive claims to support only ATA-3.
Use the ATA version in ata_perror(), and to try a flush cache command
in a shutdown hook for IDE drives.




Home | Main Index | Thread Index | Old Index