Re: ncp_pci_init error

David S. Miller (davem@dm.cobaltmicro.com)
Fri, 24 Apr 1998 07:42:45 -0700


Date: Fri, 24 Apr 1998 16:17:07 +0300 (EEST)
From: Hristo Grigorov <hristo@bse.bg>

linux-2.1.98, I got this message:

drivers/scsi/scsi.a(53c7,8xx.o): In function `ncr_pci_init':
53c7,8xx.o(.text.init+0x68c): undefined reference to `pcibios_strerror'
make: *** [vmlinux] Error 1

Any comments ?

I tried to merge this fix to Linus, but it was another one that got
dropped...

--- vanilla/linux/drivers/scsi/53c7,8xx.c Fri Apr 17 21:58:48 1998
+++ linux/drivers/scsi/53c7,8xx.c Wed Apr 22 22:27:20 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