Re: Linksys PCMPC200 CardBus - problems with tulip.c compilation
Donald Becker <[email protected]> Mon, 20 Oct 2003 11:23:29 -0400 (EDT)
| Newsgroups | gmane.linux.drivers.tulip.general |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 18 Oct 2003, Michal Kepien wrote: > I want to get a Linksys PCMPC200 CardBus card running on Red Hat 7.2 > Enigma. I'm using the stack 2.4.7-10 kernel and pcmcia-cs-3.2.5. From > what I know, CardBus drivers aren't handled by pcmcia-cs, but rather > by the PCI hotplug subsystem. That depends on the distribution. With your configuration, yes. > When the card is inserted, a following message appears in the logs: > > /etc/hotplug/pci.agent: ... no drivers for PCI slot > > When I compile the tulip.c [v0.97] driver with the following command: > > # gcc -DMODULE -D__KERNEL__ -O6 -c tulip.c -I/usr/src/linux/include > -include /usr/src/linux/include/linux/modversions.h You should really use the Makefile. > no compilation errors occur, but when I try to `insmod tulip.o`, there > are some unresolved symbols: > > tulip.o: unresolved symbol pci_drv_unregister > tulip.o: unresolved symbol pci_drv_register You need pci-scan.o, which provides PCI, hot-swap and power management interface functions that are cross-kernel-version (2.0,2.2,2.4) compatible. -- Donald Becker [email protected] Scyld Computing Corporation http://www.scyld.com 914 Bay Ridge Road, Suite 220 Scyld Beowulf cluster system 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