svn commit: r188862 - head/sys/dev/ata/chipsets
Alexander Motin
mav at FreeBSD.org
Fri Feb 20 12:29:34 PST 2009
Author: mav
Date: Fri Feb 20 20:29:32 2009
New Revision: 188862
URL: http://svn.freebsd.org/changeset/base/188862
Log:
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.
Modified:
head/sys/dev/ata/chipsets/ata-ahci.c
Modified: head/sys/dev/ata/chipsets/ata-ahci.c
==============================================================================
--- head/sys/dev/ata/chipsets/ata-ahci.c Fri Feb 20 20:20:00 2009 (r188861)
+++ head/sys/dev/ata/chipsets/ata-ahci.c Fri Feb 20 20:29:32 2009 (r188862)
@@ -653,7 +653,7 @@ ata_ahci_softreset(device_t dev, int por
device_printf(dev, "setting SRST failed ??\n");
//return -1;
- ata_udelay(5000);
+ ata_udelay(50);
/* pull reset inactive -> device softreset */
bzero(ctp->cfis, 64);
More information about the svn-src-head
mailing list