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.
This commit is contained in:
Alexander Motin 2013-02-22 19:53:12 +00:00
parent cabc512fe4
commit 6efe203d7c

View file

@ -595,7 +595,9 @@ pmpdone(struct cam_periph *periph, union ccb *done_ccb)
* 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;
/*