Re: ncp_pci_init error

Martin Mares (mj@atrey.karlin.mff.cuni.cz)
Fri, 24 Apr 1998 17:57:09 +0200


Hi,

> 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

The fix for its probably disappeared when I was sending my latest PCI
changes to Linus (it seems that it's my fault as the rest of the patch
found its way to 2.1.97). Anyway, this should fix it.

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
"And don't forget to feed your computer virus..."

--- drivers/scsi/53c7,8xx.c.mj Sat Apr 18 06:58:48 1998 +++ drivers/scsi/53c7,8xx.c Fri Apr 24 13:34:03 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]; --- ./drivers/scsi/fdomain.c.mj Thu Apr 23 15:12:27 1998 +++ ./drivers/scsi/fdomain.c Thu Apr 23 15:18:08 1998 @@ -4,7 +4,7 @@ * Author: Rickard E. Faith, faith@cs.unc.edu * Copyright 1992, 1993, 1994, 1995, 1996 Rickard E. Faith * - * $Id: fdomain.c,v 5.45 1996/10/02 15:13:06 root Exp $ + * Version 5.46 (23-04-1998) * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the @@ -20,8 +20,6 @@ * with this program; if not, write to the Free Software Foundation, Inc., * 675 Mass Ave, Cambridge, MA 02139, USA. - * PCI detection rewritten by Martin Mares <mj@atrey.karlin.mff.cuni.cz> - ************************************************************************** SUMMARY: @@ -108,6 +106,7 @@ 1.3.85 5.41 4 Apr 1996 2.0.12 5.44 8 Aug 1996 Use ID 7 for all PCI cards 2.1.1 5.45 2 Oct 1996 Update ROM accesses for 2.1.x + 2.1.97 5.46 23 Apr 1998 Rewritten PCI detection routines [mj] @@ -205,6 +204,8 @@ Thanks to Tom Cavin (tec@usa1.com) for preliminary command-line option patches. + + New PCI detection code written by Martin Mares <mj@atrey.karlin.mff.cuni.cz> All of the alpha testers deserve much thanks. @@ -885,7 +886,6 @@ #endif #ifdef CONFIG_PCI printk( "\nTMC-3260 36C70 PCI scsi chip detection failed.\n" ); - printk( "Send mail to mckinley@msupa.pa.msu.edu.\n" ); #endif return 0; /* Cannot find valid set of ports */ }

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