Re: [PATCH] PnP MODULE_DEVICE_TABLE Update - 2.5.46 (3/6)
Greg KH (greg@kroah.com)
Mon, 11 Nov 2002 17:13:04 -0800
On Thu, Nov 07, 2002 at 12:29:52PM +0100, Jaroslav Kysela wrote:
> On Wed, 6 Nov 2002, Greg KH wrote:
>
> > On Wed, Nov 06, 2002 at 09:02:00PM +0000, Adam Belay wrote:
> > >
> > > diff -ur --new-file a/include/linux/module.h b/include/linux/module.h
> > > --- a/include/linux/module.h Wed Oct 30 17:45:58 2002
> > > +++ b/include/linux/module.h Wed Oct 30 17:45:24 2002
> > > @@ -239,6 +239,8 @@
> > > * The following is a list of known device types (arg 1),
> > > * and the C types which are to be passed as arg 2.
> > > * pci - struct pci_device_id - List of PCI ids supported by this module
> > > + * pnpc - struct pnpc_device_id - List of PnP card ids (PNPBIOS, ISA PnP) supported by this module
> > > + * pnp - struct pnp_device_id - List of PnP ids (PNPBIOS, ISA PnP) supported by this module
> >
> > I must have missed this last time, but to refresh my memory, why do you
> > need two different device types? What's the difference between a card
> > id and a device id?
>
> The card id represents a group of logical devices (device ids). It's good
> to know how are devices connected, especially for soundcards where are
> several logical devices working together (codec, synth, midi uart).
> Addressing these devices separately (as the OSS sound driver does for
> example) causes a lot of confusion for users when more cards are in one
> system.
But I don't see any code using this functionality in the kernel right
now (or in the patches just sent out.) Is it really needed if there is
no users?
thanks,
greg k-h
-
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/