[eepro100] Fwd: Compile-time problems with the newest eepro driver

Eric Hicks erich@pobox.com
Fri, 20 Oct 2000 22:31:51 -0700


I'm happy to report that this patch completely solved my problem. Thanks 
Donald!

Eric

At 11:10 AM 10/19/2000 -0400, Donald Becker wrote:
>On Thu, 19 Oct 2000, Eric Hicks wrote:
>
> > One other question, of a less technical nature. Where might I find 
> slightly
> > older versions of the driver, that don't use the new pci-scan.h, 
> pci-scan.c
> > and kern_compat.h files? Perhaps I'll have better luck with that 
> version of
> > the driver.
>
>At the request of Linus, I switched to moving the kernel dependencies into
>other files in July/August/September of 1999.  It took about six weeks to
>convert and test all of the drivers, but when I was finished Linus ignored
>my updates in favor of (broken!) patches from others.
>
> >When attempting to compile the newest (newest?) eepro driver into my 2.2.5
> >redhat box, I get the following error messages:
>...
> > >drivers/net/net.a(pci-scan.o): In function `pci_drv_register':
> > >pci-scan.o(.text+0x2d): undefined reference to
> > >`pci_read_config_dword_R2ca7e89f'
>
>The buglet is in pci-scan.c.  The modversions signatures were appended, even
>when pci-scan.o was not a module.  It was fixed in v1.02 with the following
>change:
>
>
>@@ -20,7 +20,7 @@
>         Other contributers:
>  */
>  static const char version[] =
>-"pci-scan.c:v1.01 5/8/2000  Donald Becker <becker@scyld.com>"
>+"pci-scan.c:v1.02 9/27/2000  Donald Becker <becker@scyld.com>"
>  " http://www.scyld.com/linux/drivers.html\n";
>
>  /* A few user-configurable values that may be modified when a module. */
>@@ -45,7 +45,7 @@
>  #if defined(CONFIG_SMP) && ! defined(__SMP__)
>  #define __SMP__
>  #endif
>-#if defined(CONFIG_MODVERSIONS) && ! defined(MODVERSIONS)
>+#if defined(MODULE) && defined(CONFIG_MODVERSIONS) && ! defined(MODVERSIONS)
>  #define MODVERSIONS
>  #endif

---------------------------------------------------------------------------- 
-----------
Eric Hicks                                              erich@pobox.com
"Man must certainly be mad: He cannot make a flea, yet he
makes gods by the dozens." - Montaignee