diff options
author | mav <mav@FreeBSD.org> | 2009-02-20 20:29:32 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2009-02-20 20:29:32 +0000 |
commit | 00cf46451cd3cd6f13beffd8353d39763518b452 (patch) | |
tree | 604157749085b929cd39cdb87e58122bde5e234b /sys/dev/ata | |
parent | b2740187db7b7f145f40e8d388d625210cf49cf2 (diff) | |
download | FreeBSD-src-00cf46451cd3cd6f13beffd8353d39763518b452.zip FreeBSD-src-00cf46451cd3cd6f13beffd8353d39763518b452.tar.gz |
Reduce soft-reset assertion time from 5ms to 50us.
ATA specification declares minimal reset time of 5us. SATA keeps it, but
requires devices to handle commands transmitted even one by one without
any gap.
Diffstat (limited to 'sys/dev/ata')
-rw-r--r-- | sys/dev/ata/chipsets/ata-ahci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/chipsets/ata-ahci.c b/sys/dev/ata/chipsets/ata-ahci.c index 6ec3101..a950793 100644 --- a/sys/dev/ata/chipsets/ata-ahci.c +++ b/sys/dev/ata/chipsets/ata-ahci.c @@ -653,7 +653,7 @@ ata_ahci_softreset(device_t dev, int port) device_printf(dev, "setting SRST failed ??\n"); //return -1; - ata_udelay(5000); + ata_udelay(50); /* pull reset inactive -> device softreset */ bzero(ctp->cfis, 64); |