Re: Multi-function PCI devices

From: Tim Waugh (twaugh@redhat.com)
Date: Sat Apr 07 2001 - 06:14:19 EDT

  • Next message: Manfred Spraul: "Re: linux 2.2.19 smp interrupt problems?"

    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.
    */



    -
    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/



    This archive was generated by hypermail 2b29 : Sat Apr 07 2001 - 06:17:39 EDT