From: Peter Avalos Date: Fri, 6 Jul 2007 06:35:41 +0000 (+0000) Subject: On Rev. B silicon, we disabled the enhanced busfree detection logic to X-Git-Tag: v2.0.1~2629 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/f721d3d46aad70e70b717b8b1744f549cb18eaf4 On Rev. B silicon, we disabled the enhanced busfree detection logic to close holes in detecting busfrees that occur after a packetized target transitions to a non-packetized phase. The most common case where this occurs is when a target is externally reset so the controller believes a packetzied negotiation agreement is still in effect. Unfortunately, disabling this feature seems to cause problems for the 7901B. Re-enable ehanced busfree detection for this part. Obtained-from: FreeBSD --- diff --git a/sys/dev/disk/aic7xxx/aic79xx_pci.c b/sys/dev/disk/aic7xxx/aic79xx_pci.c index b0e5d0e6e6..832dd1cdcb 100644 --- a/sys/dev/disk/aic7xxx/aic79xx_pci.c +++ b/sys/dev/disk/aic7xxx/aic79xx_pci.c @@ -40,8 +40,8 @@ * * $Id: //depot/aic7xxx/aic7xxx/aic79xx_pci.c#88 $ * - * $FreeBSD: src/sys/dev/aic7xxx/aic79xx_pci.c,v 1.21 2004/08/22 13:54:27 gibbs Exp $ - * $DragonFly: src/sys/dev/disk/aic7xxx/aic79xx_pci.c,v 1.13 2007/07/06 05:20:00 pavalos Exp $ + * $FreeBSD: src/sys/dev/aic7xxx/aic79xx_pci.c,v 1.23 2005/02/16 18:16:35 gibbs Exp $ + * $DragonFly: src/sys/dev/disk/aic7xxx/aic79xx_pci.c,v 1.14 2007/07/06 06:35:41 pavalos Exp $ */ #ifdef __linux__ @@ -995,14 +995,14 @@ ahd_aic790X_setup(struct ahd_softc *ahd) ahd->features |= AHD_RTI|AHD_NEW_IOCELL_OPTS | AHD_NEW_DFCNTRL_OPTS|AHD_FAST_CDB_DELIVERY; - ahd->bugs |= AHD_LQOOVERRUN_BUG|AHD_EARLY_REQ_BUG - | AHD_BUSFREEREV_BUG; + ahd->bugs |= AHD_LQOOVERRUN_BUG|AHD_EARLY_REQ_BUG; /* * Some issues have been resolved in the 7901B. */ if ((ahd->features & AHD_MULTI_FUNC) != 0) - ahd->bugs |= AHD_INTCOLLISION_BUG|AHD_ABORT_LQI_BUG; + ahd->bugs |= AHD_INTCOLLISION_BUG|AHD_ABORT_LQI_BUG + | AHD_BUSFREEREV_BUG; /* * IO Cell paramter setup.