Re: Multi-function PCI devices

Tim Waugh
2001-04-07T10:15:18Z

[-- Attachment #1: Type: text/plain, Size: 938 bytes --]

On Sat, Apr 07, 2001 at 04:57:29AM -0400, Jeff Garzik wrote:

> Where is this patch available? I haven't heard of an extension to the
> pci id tables, so I wonder if it's really in the queue for the official
> kernel.

It is. <URL:http://people.redhat.com/twaugh/patches/> The
'extension' is just 'more entries', AFAIR.

> > I'm afraid this is not a bug, but a design issue, and will be hard to
> > solve. Maybe we need a flag for such devices which allows it to be
> > claimed ba more thean one driver?
>
> Not so hard.

*sigh* Jeff, when I spoke to you about this last year you said
'tough', or words to that effect. :-(

> There is no need to register more than one driver per PCI device -- just
> create a PCI driver whose probe routine registers serial and parallel,
> and whose remove routine unregisters same.

*cough* modularity *cough*

Wnat to show us some elegant code that does that?

Tim.
*/

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]