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: Sun Sep 20 19:00:16 UTC 1998
Modified Files:
src/sys/dev/ata [bouyer-ide]: atavar.h wd.c
src/sys/dev/ic [bouyer-ide]: wdc.c wdcvar.h
Log Message:
Kill the 'old drive' flag. The probe for IDE controllers now looks
like this :
- if status = 0xff for both master and slave, no drive at all -> exit.
- issue a reset (timeout = 31s).
- test signatures: if ATAPI signature, flag a (possible) ATAPI devices here
else test register writability, then wait for the drive to become
ready, issue a diagnostic command and wait for the drive to become ready
if ok, flag a real ATA device.
This looks more like the old probe.
For ATA devices, if IDENTIFY fails, then it's an old drive and use
a fake disklabel/geometry.
Home |
Main Index |
Thread Index |
Old Index