svn commit: r247264 - head/sys/dev/isp
Matt Jacob
mjacob at FreeBSD.org
Mon Feb 25 11:22:55 UTC 2013
Author: mjacob
Date: Mon Feb 25 11:22:54 2013
New Revision: 247264
URL: http://svnweb.freebsd.org/changeset/base/247264
Log:
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
Modified:
head/sys/dev/isp/isp.c
Modified: head/sys/dev/isp/isp.c
==============================================================================
--- head/sys/dev/isp/isp.c Mon Feb 25 10:57:35 2013 (r247263)
+++ head/sys/dev/isp/isp.c Mon Feb 25 11:22:54 2013 (r247264)
@@ -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;
More information about the svn-src-head
mailing list