[epic] Re: epic100.c fix for 2.2.x kernels

Jeff Garzik jgarzik@mandrakesoft.mandrakesoft.com
Thu, 6 Jul 2000 05:40:52 -0500 (CDT)

On Thu, 6 Jul 2000, Andreas Steinmetz wrote:

> Not exactly:
> You can compile the module - that's it. There's calls to pci_drv_register() and
> pci_drv_unregister that are not part of the 2.2.x kernels. Thus you're stuck
> with unresolved symbols and an unloadable module.
> Reworking this would mean to reimplement the 2.2.x semantics which would
> basically result in a new driver version.

You will not find these symbols in 2.3.x/2.4.x kernels either.

You are missing Donald's pci-scan module.  You must compile and build the
driver AND the pci-scan module, install, and then insmod both of them,
or "depmod -a ; modprobe <eth driver>"

It would be nice if Donald would do something like the following in each
of this independent drivers.  This would reduce the FAQs and problem
reports to nil...

#ifndef PCI_SCAN_MODULE /* any symbol unique to pci-scan.h */
#error You must also download pci-scan.c, pci-scan.h, and kern_compat.h

Granted the compile will bomb out without these, but the missing headers
lead people (such as the poster above) to believe that the drivers will
not work under 2.2.x kernels.