Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757946AbZKYPZg (ORCPT ); Wed, 25 Nov 2009 10:25:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757664AbZKYPZf (ORCPT ); Wed, 25 Nov 2009 10:25:35 -0500 Received: from mail-bw0-f227.google.com ([209.85.218.227]:61955 "EHLO mail-bw0-f227.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755655AbZKYPZf (ORCPT ); Wed, 25 Nov 2009 10:25:35 -0500 MIME-Version: 1.0 In-Reply-To: References: <200911222201.59471.linux@rainbow-software.org> <200911231359.54544.rusty@rustcorp.com.au> From: Kay Sievers Date: Wed, 25 Nov 2009 16:23:23 +0100 Message-ID: Subject: Re: MODULE_DEVICE_TABLE(isapnp, ...) does nothing To: Matthieu CASTET Cc: linux-kernel@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1696 Lines: 39 On Wed, Nov 25, 2009 at 15:42, Matthieu CASTET wrote: > Kay Sievers vrfy.org> writes: >> >> No, we don't even have proper modaliases for the pnp bus >> (/sys/bus/pnp) and the alias string for pnp in the modules have a >> broken and unfixable format. PNP autoloading is all handled by the >> acpi modaliases these days. This is the first time in years I hear >> anybody asking for hotplug setups of plain old pnp devices. :) >> > The naming is really bad. This as nothing to do with acpi : pnp and pnp_cards > entries are duplicated to another naming. And this should work on system > without > acpi. > This should have been named to pnp2 or something like that. I don' think there is anything like a second version, it's just that acpi handles the same pnp ids natively, so we added (non-broken) matches for it, which works properly on almost all current boxes. If someone wants to finally fix pnp and get proper modalias working, the acpi alias generation in the pnp modules can be reverted without trouble. > Now I don't see why isapnp_device_id and pnp_card_device_id can't be merged > together. > > For example most of alsa isa card use pnp_card_device_id and not > isapnp_device_id. It's just that nobody really cared, I guess. I wouldn't be surprised, if this is just another round of "discussion" like we had so many about this topic the past years, and nothing will happen to pnp/isapnp. :) Kay -- 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/