Slow Adaptec... again.

From: Giuliano Pochini (pochini@denise.shiny.it)
Date: Sun Jun 25 2000 - 12:18:35 EST


Adaptec 2930U SCSI controllers don't run in ultra mode because the driver
recognize it as an AIC-7850 instead of 7422 (as written on the chip). I
forced the driver to work at 20MB/s with the following patch and it seems
to work fine. Lmbench reports a raw speed on 14MB/s with my IBM 9GB
harddrive.
I don't know how exactly PCI detection works, but I think that if the
kernel driver is right, so at Adaptec thet must have programmed the card
to send a wrong ID or something like that. aic7xxx.c don't bring up
unknown interfaces.

Warning: this is a hack. The patch must not go into the official
kernel. We need a reliable way to identify the 2930U controller.

(2.2.16)

--- drivers/scsi/aic7xxx.c_old Sun Jun 25 12:17:46 2000
+++ drivers/scsi/aic7xxx.c Sun Jun 25 12:42:29 2000
@@ -9545,7 +9545,7 @@
        AHC_FNONE, AHC_FENONE, 1,
        32, C46 },
       {PCI_VENDOR_ID_ADAPTEC, PCI_DEVICE_ID_ADAPTEC_7850, AHC_AIC7850,
- AHC_PAGESCBS, AHC_AIC7850_FE, 5,
+ AHC_PAGESCBS, AHC_AIC7860_FE, 5,
        32, C46 },
       {PCI_VENDOR_ID_ADAPTEC, PCI_DEVICE_ID_ADAPTEC_7855, AHC_AIC7850,
        AHC_PAGESCBS, AHC_AIC7850_FE, 6,

Bye.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jun 26 2000 - 21:00:06 EST