svn commit: r247161 - head/sys/cam/ata

Alexander Motin mav at FreeBSD.org
Fri Feb 22 19:53:12 UTC 2013


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;
 
 			/*


More information about the svn-src-all mailing list