Linksys PCMPC200 CardBus - problems with tulip.c compilation

Michal Kepien <[email protected]> Sat, 18 Oct 2003 09:47:55 +0200
Newsgroups gmane.linux.drivers.tulip.general
Message-ID <[email protected]>
Hi there,

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.

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

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

Also, I don't know whether I should modify the /etc/hotplug/pci.agent
file to use the tulip.o module. However, first I have to compile the
tulip.c driver without errors and that is something I don't know how
to do.

I'll be grateful for any suggestions,

Michal Kepien
_______________________________________________
tulip mailing list, [email protected]
To change to digest mode or unsubscribe visit
http://www.scyld.com/mailman/listinfo/tulip