svn commit: r290855 - head/sys/dev/ata/chipsets

Alexander Motin mav at FreeBSD.org
Sun Nov 15 10:58:03 UTC 2015


Author: mav
Date: Sun Nov 15 10:58:01 2015
New Revision: 290855
URL: https://svnweb.freebsd.org/changeset/base/290855

Log:
  Increase reset assertion time from 10 to 100us.
  
  On my own tests I see no effect from this change, but I also can't
  reproduce the reported problem in general.
  
  PR:		127391
  PR:		204554
  Submitted by:	satz at iranger.com
  MFC after:	2 weeks

Modified:
  head/sys/dev/ata/chipsets/ata-intel.c

Modified: head/sys/dev/ata/chipsets/ata-intel.c
==============================================================================
--- head/sys/dev/ata/chipsets/ata-intel.c	Sun Nov 15 07:14:17 2015	(r290854)
+++ head/sys/dev/ata/chipsets/ata-intel.c	Sun Nov 15 10:58:01 2015	(r290855)
@@ -422,7 +422,7 @@ ata_intel_reset(device_t dev)
 		mask |= (1 << smap[1]);
 	pci_write_config(parent, 0x92,
 	    pci_read_config(parent, 0x92, 2) & ~mask, 2);
-	DELAY(10);
+	DELAY(100);
 	pci_write_config(parent, 0x92,
 	    pci_read_config(parent, 0x92, 2) | mask, 2);
 


More information about the svn-src-all mailing list