lkml.org 
[lkml]   [2001]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectCan multiple device drivers *share* a PCI bridge?
Date
I have 5 IP modules (Industry Pak I/O) that plug onto an IP carrier.  The
carrier has a bridge that gets found via vendor ID/device ID, but the *sub*
devices don't show up as distinct pci devices. I'm using the *new*
approach, i.e., defining a pci_device_id struct that has been initialized
with vendirID/deviceID pairs I'm supporting.

When my module loads, the kernel calls my probe routine. If my probe
routine returns 0, then this pci device is essentially locked to my device
driver. How can I share that pci device with multiple drivers? My current
thoughts are to simply make a *unified* driver that supports the various IP
modules. That unified driver is not a general solution, but it would be ok
for this project. I'm curious about how to develop a general solution to
this problem. I believe any user of these IP modules would want to be able
to mix-n-match IP modules at will, merely adding device drivers, not having
a unified driver.




Steven Friedrich
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.049 / U:0.732 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site