Re: Sharing a pci device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 28, 2004 at 08:34:57PM -0500, Perry Gilfillan wrote:
> >How about making one module/driver that has the probe/remove functions
> >for the voodoo3 device, and have the other three modules register with
> >that to get access to the device?  That's the correct way to solve this
> >issue.
> 
> This would be similar to how the i2c adapter allows several drivers to 
> access the chips on it's bus, or the ieee1394 drivers have sbp2, dv1394, 
> raw1394, eth1394, etc. attached?

Not really, those are real busses.  You just want to share a struct
pci_dev among a few different pci drivers.

> This would be beyond my skills at this time, but I'll be thinking about 
> it.  Are there any books or articles you could point to that would help 
> me get an idea of the things I need to consider in putting some thing 
> like that together?

I don't know of any such documentation or examples at this time, sorry.

good luck,

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux