summaryrefslogtreecommitdiffstats
path: root/sys/cam/ata
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2013-02-22 19:53:12 +0000
committermav <mav@FreeBSD.org>2013-02-22 19:53:12 +0000
commitc4216d10a5974e0137912d07a03f670f3eed936b (patch)
tree014ab37b859863aa1bfdc0b2eab536fdfbb584cd /sys/cam/ata
parente848c6ec2fb489ae4346e05488f37cb001f97acf (diff)
downloadFreeBSD-src-c4216d10a5974e0137912d07a03f670f3eed936b.zip
FreeBSD-src-c4216d10a5974e0137912d07a03f670f3eed936b.tar.gz
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.
Diffstat (limited to 'sys/cam/ata')
-rw-r--r--sys/cam/ata/ata_pmp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/cam/ata/ata_pmp.c b/sys/cam/ata/ata_pmp.c
index b2acdee..3c8bb51 100644
--- a/sys/cam/ata/ata_pmp.c
+++ b/sys/cam/ata/ata_pmp.c
@@ -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;
/*
OpenPOWER on IntegriCloud