Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 9 Mar 2003 11:34:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 9 Mar 2003 11:34:48 -0500 Received: from lopsy-lu.misterjones.org ([62.4.18.26]:10513 "EHLO young-lust.wild-wind.fr.eu.org") by vger.kernel.org with ESMTP id ; Sun, 9 Mar 2003 11:34:46 -0500 To: "Justin T. Gibbs" Cc: linux-kernel@vger.kernel.org Subject: [PATCH] EISA aic7770 broken Organization: Metropolis -- Nowhere X-Attribution: maz Reply-to: mzyngier@freesurf.fr From: Marc Zyngier Date: 09 Mar 2003 17:43:38 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1182 Lines: 20 --=-=-= Justin, I'm having troubles getting an Adaptec AHA-2740 (EISA) running on 2.5.64. First thing is the initial request_region succeeds, but the driver thinks it failed... The enclosed patch fixes it. But the driver crashes badly while probing the card, somewhere in ahc_runq_tasklet. Any idea ? M. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=aic7770_osm.patch ===== drivers/scsi/aic7xxx/aic7770_osm.c 1.2 vs 1.3 ===== --- 1.2/drivers/scsi/aic7xxx/aic7770_osm.c Tue Dec 31 02:54:16 2002 +++ 1.3/drivers/scsi/aic7xxx/aic7770_osm.c Sun Mar 9 17:23:13 2003 @@ -66,7 +66,7 @@ continue; request_region(eisaBase, AHC_EISA_IOSIZE, "aic7xxx"); #else - if (request_region(eisaBase, AHC_EISA_IOSIZE, "aic7xxx") != 0) + if (!request_region(eisaBase, AHC_EISA_IOSIZE, "aic7xxx")) continue; #endif --=-=-= -- Places change, faces change. Life is so very strange. --=-=-=-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/