Author: mav
Date: Fri Feb 22 19:53:12 2013
New Revision: 247161
URL: http://svnweb.freebsd.org/changeset/base/247161

Log:
  Hide SEMB port of the SiI3826 Port Multiplier by default to avoid extra
  errors while it tries to talk via I2C to usually missing external SEP.
  There is tunable to enable it back when needed.

Modified:
  head/sys/cam/ata/ata_pmp.c

Modified: head/sys/cam/ata/ata_pmp.c
==============================================================================
--- head/sys/cam/ata/ata_pmp.c  Fri Feb 22 19:23:33 2013        (r247160)
+++ head/sys/cam/ata/ata_pmp.c  Fri Feb 22 19:53:12 2013        (r247161)
@@ -595,7 +595,9 @@ pmpdone(struct cam_periph *periph, union
                         * causes timeouts if external SEP is not connected
                         * to PMP over I2C.
                         */
-                       if (softc->pm_pid == 0x37261095 && softc->pm_ports == 6)
+                       if ((softc->pm_pid == 0x37261095 ||
+                            softc->pm_pid == 0x38261095) &&
+                           softc->pm_ports == 6)
                                softc->pm_ports = 5;
 
                        /*
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to