Re: Re: Using tulip.c with 2.4.18 for a 21143 card
Donald Becker <[email protected]>
| Newsgroups | gmane.linux.drivers.tulip.general |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 1 Aug 2002, Steinar Bang wrote: > >>>>> Donald Becker <[email protected]>: > > > You need pci-scan.o for all kernel versions. It provides consistent > > PCI scanning, hot-swap and power management support across all > > kernels. > > Which subdirectory of /lib/modules/2.4.18-686/ should it be in? Or > doesn't it matter? It doesn't matter. The Makefile puts it in the modules/*/net/ directory to avoid touching multiple directories, but pci-scan.o is actually generic support used by non-network drivers as well. > Could the missing pci-scan.o be the reason the > kernel didn't find tulip.o on startup? Yes. The tulip.o file requires the pci_drv_register()/pci_drv_unregister() functions from pci-scan.o. The changes you need to make to standard 2.4 kernels to add the driver update set is to edit the Makefile to use tulip.c instead of the tulip directory add pci-scan.c to the build list, and add any drivers not included with that kernel version to the Makefile and config.in. Note that newer drivers all have the config.in information embedded in the source file. An example is /* Automatically extracted configuration info: probe-func: sundance_probe config-in: tristate 'Sundance ST201 "Alta" PCI Ethernet support' CONFIG_SUNDANCE c-help-name: Sundance ST201 "Alta" PCI Ethernet support c-help-symbol: CONFIG_SUNDANCE c-help: This driver is for the Sundance ST201 "Alta" and Kendin KS8723, as c-help: used on the D-Link DFE-550 and DFE-580. c-help: Design information, usage details and updates are available from c-help: http://www.scyld.com/network/sundance.html */ -- Donald Becker [email protected] Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Second Generation Beowulf Clusters Annapolis MD 21403 410-990-9993 _______________________________________________ tulip mailing list, [email protected] To change to digest mode or unsubscribe visit http://www.scyld.com/mailman/listinfo/tulip