diff options
author | mjacob <mjacob@FreeBSD.org> | 2013-02-25 11:22:54 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2013-02-25 11:22:54 +0000 |
commit | 75d62de01add614d86b5cf30bd3b8157f26d2812 (patch) | |
tree | 4ddb78c8853b54a1e9c9c7c3498746a7bf29fa96 | |
parent | 14920d090fb25c93fcea3e7d80000cc87f31fffb (diff) | |
download | FreeBSD-src-75d62de01add614d86b5cf30bd3b8157f26d2812.zip FreeBSD-src-75d62de01add614d86b5cf30bd3b8157f26d2812.tar.gz |
Turn off fast posting for the ISP2100- I'd forgotten that it actually
might have been enabled for them- now that we use all 32 bits of handle.
Fast Posting doesn't pass the full 32 bits.
Noticed by: Bugs in NetBSD. Only a NetBSD user might actually still use such old hardware.
MFC after: 1 week
-rw-r--r-- | sys/dev/isp/isp.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/isp/isp.c b/sys/dev/isp/isp.c index c4747e7..d3e5bdb 100644 --- a/sys/dev/isp/isp.c +++ b/sys/dev/isp/isp.c @@ -1709,7 +1709,13 @@ isp_fibre_init(ispsoftc_t *isp) * * NB: for the 2300, ICBOPT_EXTENDED is required. */ - if (IS_2200(isp) || IS_23XX(isp)) { + if (IS_2100(isp)) { + /* + * We can't have Fast Posting any more- we now + * have 32 bit handles. + */ + icbp->icb_fwoptions &= ~ICBOPT_FAST_POST; + } else if (IS_2200(isp) || IS_23XX(isp)) { icbp->icb_fwoptions |= ICBOPT_EXTENDED; icbp->icb_xfwoptions = fcp->isp_xfwoptions; |