diff options
| author | Marius Strobl <marius@FreeBSD.org> | 2008-12-15 21:42:38 +0000 |
|---|---|---|
| committer | Marius Strobl <marius@FreeBSD.org> | 2008-12-15 21:42:38 +0000 |
| commit | cde74953ae1a41327ebf3a2a75fd264083ed4a3d (patch) | |
| tree | f81231bbda019eb4bae7684574b0323ef1d15e8a /sys/dev/isp/isp.c | |
| parent | 79b45ec57c512bb7ffebe4c1476974b9a4b839d7 (diff) | |
Notes
Diffstat (limited to 'sys/dev/isp/isp.c')
| -rw-r--r-- | sys/dev/isp/isp.c | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/sys/dev/isp/isp.c b/sys/dev/isp/isp.c index e22b7bfc0e19..1ad4e9157f85 100644 --- a/sys/dev/isp/isp.c +++ b/sys/dev/isp/isp.c @@ -335,6 +335,23 @@ isp_reset(ispsoftc_t *isp) /* * XXX: Should probably do some bus sensing. */ + } else if (IS_ULTRA3(isp)) { + sdparam *sdp = isp->isp_param; + + isp->isp_clock = 100; + + if (IS_10160(isp)) + btype = "10160"; + else if (IS_12160(isp)) + btype = "12160"; + else + btype = "<UNKLVD>"; + sdp->isp_lvdmode = 1; + + if (IS_DUALBUS(isp)) { + sdp++; + sdp->isp_lvdmode = 1; + } } else if (IS_ULTRA2(isp)) { static const char m[] = "bus %d is in %s Mode"; uint16_t l; @@ -346,10 +363,6 @@ isp_reset(ispsoftc_t *isp) btype = "1280"; else if (IS_1080(isp)) btype = "1080"; - else if (IS_10160(isp)) - btype = "10160"; - else if (IS_12160(isp)) - btype = "12160"; else btype = "<UNKLVD>"; |
