I'm having some problems with a device driver I'm writing for school. It
is a character driver, implemented as a loadable module, and it interfaces
to a PCI card that some other people are designing.
My problem is that I can't access the list of PCI devices, which is
declared in <linux/pci.h> and defined in src/linux/drivers/pci/pci.c. I
can access the bios32 functions, but whenever I try to insmod the module
when it refers to the list of devices or any function defined in pci.c, I
get a "symbol undefined" error.
Are these functions and data structures simply not visible to loadable
modules? Is there a way I can make them visible? Or must I resort to a
kernel compiled driver?
Thanks for any help.