Re: modules.isapnpmap vs modules.alias

From: Randy.Dunlap
Date: Wed Sep 20 2006 - 13:22:06 EST


On Wed, 20 Sep 2006 18:53:01 +0200 iSteve wrote:

> Greetings,
> I'm looking at the modules.isapnpmap and I compare it with modules.alias file.
> For example:
>
> -modules.isapnpmap:
> snd-mpu401 0xffff 0xffff 0x00000000 0xd041 0x06b0
> -EOF
>
> -modules.alias:
> alias: pnp:dPNPb006*
> -EOF
>
> I am trying to resolve the isapnpmap into the alias. I figured most of it, but
> I'm confused by the "PNP" part. It is obvious that vendor 0xd041 conforms to
> "PNP", as all devices that have vendor 0xd041 have PNP and vice versa, similarly
> for eg. vendor 0xa865 and "YMH"...
>
> However, how can I actually translate "PNP" to "0xd041" (and/or backwards)?

It's defined in the MS ISA PNP spec from
http://www.microsoft.com/whdc/resources/respec/specs/pnpisa.mspx

I just went thru the bit fiddling exercise, so holler if you
want/need help with it. (I'd rather just teach you how to fish
instead of giving you fish.)

> Thanks in advance for any reply.
> Please, CC me, as I am not subscribed to the mailing list.

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