From ac3090e2c9ecc47c165408135e83dc9b4e7cde41 Mon Sep 17 00:00:00 2001 From: Stanislaw Gruszka Date: Tue, 12 Feb 2008 09:08:33 +0000 Subject: [PATCH] Synchronize with Feral CVS repository: Turn off, yet again, fast posting and RIO for 2200 cards. It just seems to buggy in this driver to be used, and because of the age of the cards not worth chasing down. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@258 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla_isp/common/isp.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/qla_isp/common/isp.c b/qla_isp/common/isp.c index f49285a27..73c05498e 100644 --- a/qla_isp/common/isp.c +++ b/qla_isp/common/isp.c @@ -1,4 +1,4 @@ -/* $Id: isp.c,v 1.179 2007/11/14 01:20:38 mjacob Exp $ */ +/* $Id: isp.c,v 1.180 2007/11/18 17:45:07 mjacob Exp $ */ /*- * Copyright (c) 1997-2007 by Matthew Jacob * All rights reserved. @@ -1658,6 +1658,14 @@ isp_fibre_init(ispsoftc_t *isp) break; } if (IS_2200(isp)) { + /* + * There seems to just be too much breakage here + * with RIO and Fast Posting- it probably actually + * works okay but this driver is messing it up. + * This card is really ancient by now, so let's + * just opt for safety and not use the feature. + */ +#if 0 if (ISP_FW_NEWER_THAN(isp, 1, 17, 0)) { icbp->icb_xfwoptions |= ICBXOPT_RIO_16BIT; icbp->icb_fwoptions &= ~ICBOPT_FAST_POST; @@ -1666,6 +1674,10 @@ isp_fibre_init(ispsoftc_t *isp) } else { icbp->icb_fwoptions |= ICBOPT_FAST_POST; } +#else + icbp->icb_xfwoptions &= ~ICBXOPT_RIO_16BIT; + icbp->icb_fwoptions &= ~ICBOPT_FAST_POST; +#endif } else { /* * QLogic recommends that FAST Posting be turned