Re: Error: 2.1.98 <-> NCR53c7,8xx

David S. Miller (davem@dm.cobaltmicro.com)
Mon, 27 Apr 1998 05:23:08 -0700


From: Marc Bechler <mbechler@telematik.informatik.uni-karlsruhe.de>
Date: Mon, 27 Apr 1998 14:16:55 +0200

I cannot compile the 2.1.98 kernel with my NCR8100
SCSI-Adapter. During the compilation I first got a warning
"implicit declaration of 'pcibios_strerror' in function
ncr_pci_init() in file drivers/scsi/53c7,8xx.c"

and then (several minutes later) the compilation broke with an
unreferenced function in 53c7,8xx.o

In the 2.1.90 kernel everything works fine with the same settings.

Fix was posted here already 2 or 3 days ago, here it is again:

--- vanilla/linux/drivers/scsi/53c7,8xx.c Fri Apr 17 21:58:48 1998
+++ linux/drivers/scsi/53c7,8xx.c Thu Apr 23 01:42:15 1998
@@ -1441,9 +1441,8 @@
&command)) ||
(error = pcibios_read_config_byte (bus, device_fn, PCI_CLASS_REVISION,
&revision))) {
- printk ("scsi-ncr53c7,8xx : error %s not initializing due to error reading configuration space\n"
- " perhaps you specified an incorrect PCI bus, device, or function.\n"
- , pcibios_strerror(error));
+ printk ("scsi-ncr53c7,8xx : error %d not initializing due to error reading configuration space\n"
+ " perhaps you specified an incorrect PCI bus, device, or function.\n", error);
return -1;
}
io_port = pdev->base_address[0];

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