diff options
author | mav <mav@FreeBSD.org> | 2010-09-02 11:18:43 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2010-09-02 11:18:43 +0000 |
commit | aac03a91b1506311ed759f27fd9c9bf95858a91c (patch) | |
tree | fa7b44864889fb34eeeb135d1f76d109f7029794 /sys/dev/ata/ata-all.h | |
parent | 3fcf479705ddf8fb8ab07379d40f8310e847eb01 (diff) | |
download | FreeBSD-src-aac03a91b1506311ed759f27fd9c9bf95858a91c.zip FreeBSD-src-aac03a91b1506311ed759f27fd9c9bf95858a91c.tar.gz |
SATA1.x SiliconImage controllers on power-on reset TFD Status register into
value 0xff. On hot-plug this value confuses ata_generic_reset() device
presence detection logic. As soon as we already know drive presence from
SATA hard reset, hint ata_generic_reset() to wait for device signature
until success or full timeout.
Diffstat (limited to 'sys/dev/ata/ata-all.h')
-rw-r--r-- | sys/dev/ata/ata-all.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ata/ata-all.h b/sys/dev/ata/ata-all.h index 87226cc..6132eab 100644 --- a/sys/dev/ata/ata-all.h +++ b/sys/dev/ata/ata-all.h @@ -565,6 +565,7 @@ struct ata_channel { #define ATA_NO_ATAPI_DMA 0x40 #define ATA_SATA 0x80 #define ATA_DMA_BEFORE_CMD 0x100 +#define ATA_KNOWN_PRESENCE 0x200 int pm_level; /* power management level */ int devices; /* what is present */ |