Re: MODULE_DEVICE_TABLE(isapnp, ...) does nothing

From: Matthieu CASTET
Date: Wed Nov 25 2009 - 09:43:12 EST


Hi,

Kay Sievers <kay.sievers <at> 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.

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.

Matthieu



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/