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: s...@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);
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to