503de51fdd
- Don't rely on ATA signature: some ide controllers seems to not transmit it properly (SIMIDE on arm32 machines). Instead, when we guess a drive is here after reset, just mark it as ATA and OLD is it's not ATAPI. - at attach time, use IDENTIFY to eliminate ghost from the probe. If the drive had the old flag and IDENTIFY failed, issue a WDCC_RECAL command to detect a pre-ATA disk. If IDENTIFY succeded, remove the OLD flag, it's obviously not a pre-ATA disk. - add a new controller flag, WDC_CAPABILITY_PREATA, used to shorcut parts of the probe (not necessary, but makes the probe/attach faster). This is only set by the ISA front-end, all other controllers supported can't have pre-ATA drives attached. The mechanism used are more or less the same as before, they have just been reordered. Should solve port-arm32/7324 (waiting for feedback). |
||
---|---|---|
bin | ||
distrib | ||
etc | ||
games | ||
gnu | ||
include | ||
lib | ||
libexec | ||
regress | ||
sbin | ||
share | ||
sys | ||
usr.bin | ||
usr.sbin | ||
Makefile |