svn commit: r249160 - stable/9/sys/cam/ata
Alexander Motin
mav at FreeBSD.org
Fri Apr 5 11:57:42 UTC 2013
Author: mav
Date: Fri Apr 5 11:57:41 2013
New Revision: 249160
URL: http://svnweb.freebsd.org/changeset/base/249160
Log:
MFC r247161:
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:
stable/9/sys/cam/ata/ata_pmp.c
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/cam/ata/ata_pmp.c
==============================================================================
--- stable/9/sys/cam/ata/ata_pmp.c Fri Apr 5 11:55:52 2013 (r249159)
+++ stable/9/sys/cam/ata/ata_pmp.c Fri Apr 5 11:57:41 2013 (r249160)
@@ -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-stable-9
mailing list