Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 12 Nov 2002 07:40:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 12 Nov 2002 07:40:15 -0500 Received: from gate.perex.cz ([194.212.165.105]:25874 "EHLO gate.perex.cz") by vger.kernel.org with ESMTP id ; Tue, 12 Nov 2002 07:40:13 -0500 Date: Tue, 12 Nov 2002 13:46:43 +0100 (CET) From: Jaroslav Kysela X-X-Sender: To: Greg KH cc: Adam Belay , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] PnP MODULE_DEVICE_TABLE Update - 2.5.46 (3/6) In-Reply-To: <20021112011304.GE26926@kroah.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2025 Lines: 46 On Mon, 11 Nov 2002, Greg KH wrote: > 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? All ALSA modules will use it after this patch is merged. Jaroslav ----- Jaroslav Kysela Linux Kernel Sound Maintainer ALSA Project, SuSE Labs - 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/