Having problem writing a PCI device driver

Having problem writing a PCI device driver

Post by Paul Meye » Mon, 06 Jan 1997 04:00:00

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.

Paul Meyers


1. How to write PCI device drivers under Linux ?

We have developed a custom PCI network interface card and want it
work under Linux.

How to write this kind of device driver ? We expect some usefull
information resources and suggestion from experienced pepole.

Any suggestion is appreciate. Thanks ahead.

Please reply to the personal mailbox:


3. Writing a PCI device driver.

4. Unix Admin Resources (JOBS, RESUMES, LINKS)!

5. Writing PCI Device Drivers

6. Few newbie questions (sawfish/free)

7. PCI device driver and write/ioctl calls

8. DHCP server and client same machine

9. to write or not to write a BLASTED device driver

10. user space device driver can't write to isa device

11. Writing control codes to device through a device driver

12. PCI device vs SCSI device driver

13. Device driver devices.pci.scsi missing