Re: [PATCH] PnP MODULE_DEVICE_TABLE Update - 2.5.46 (3/6)

Jaroslav Kysela (perex@suse.cz)
Thu, 7 Nov 2002 12:29:52 +0100 (CET)


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.

Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project http://www.alsa-project.org
SuSE Linux http://www.suse.com

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