Subject: CVS commit: src
To: None <firstname.lastname@example.org>
From: Manuel BOUYER <email@example.com>
Date: 09/20/1998 12:00:16
Module Name: src
Committed By: bouyer
Date: Sun Sep 20 19:00:16 UTC 1998
src/sys/dev/ata [bouyer-ide]: atavar.h wd.c
src/sys/dev/ic [bouyer-ide]: wdc.c wdcvar.h
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.