Re: FDomain driver PCI probe fix

Brian Beaudoin (baddog@darkknight.net)
Fri, 17 Apr 1998 19:47:12 -0400


Nope,

Problem is still broken. I am assuming it's because the new driver ONLY
probes the PCI BIOS codes and doesn't detect for the exact chipset in
the Adaptec 2920. Here's the BIOS identifier for the card:

Future Domain TMC-18C30 (rev 0)

The old driver does a "nobios" check for the card and detects it
(improperly, but conveniently) as a 36C70. Even with the patch Martin
has provided the driver doesn't work like it should.

Brian

Martin Mares wrote:
>
> Hi,
>
> This patch fixes a silly bug in FDomain SCSI driver PCI probing...
>
> Have a nice fortnight
> --
> Martin `MJ' Mares <mj@ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/
> Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
> "RAM = Rarely Adequate Memory"
>
> --- ./drivers/scsi/fdomain.c.mj Sat Apr 18 00:47:16 1998
> +++ ./drivers/scsi/fdomain.c Sat Apr 18 00:47:41 1998
> @@ -774,7 +774,7 @@
> PCI_DEVICE_ID_FD_36C70 );
> #endif
>
> - if ((pdev = pci_find_device(PCI_VENDOR_ID, PCI_DEVICE_ID, pdev)) == NULL)
> + if ((pdev = pci_find_device(PCI_VENDOR_ID_FD, PCI_DEVICE_ID_FD_36C70, pdev)) == NULL)
> return 0;
>
> #if DEBUG_DETECT
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu