how to assign names to PCI devices, that ioctl() can use from user space?
Hello,
I am writing a driver for a "generic" PCI device, that is, not a network card, or serial card, or anything with a special interface. I just need to be able to open it and ioctl().
I want to know, once I initialize a PCI device that the driver supports, how to assign the name to that device, that will then be accessible to open() and ioctl() from user space.
To paraphrase justice Clarence Thomas, "I racked my brains on this" for 2 hours - I went over Rubini's latest edition chapter on PCI drivers and searched the web, and nowhere, could I find any information on this.
Please tell me. Mark Galeck
|