Re: modules.pnpmap output support

From: Takashi Iwai
Date: Mon Nov 17 2003 - 06:32:21 EST


At Mon, 17 Nov 2003 14:46:16 +1100,
Rusty Russell wrote:
>
> In message <s5hekwbjb7c.wl@xxxxxxxxxxxxx> you write:
> > Hi Rusty,
>
> Hi Takashi!
>
> > The attached patch makes depmod to output modules.pnpmap file
> > generated from the pnp device table.
> >
> > The output format is not compatible with the old modules.isapnpmap.
> > The new format shows the pnp id string (e.g. CTL0301) while the old
> > format uses the hex numbers. I don't think it's worthy to keep the
> > compatibility for this (since the new one is more intuitive), but it'd
> > be easy to follow the old style.
>
> That seems strange. If you don't worry about backwards compatibility,
> then the new scripts/file2alias.c approach is better, which generates
> aliases for each module (depmod then collects these into
> /lib/modules/`uname -r`/modules.alias for speed).
>
> The tables generated by depmod are purely for backwards compatibility,
> although it does look like they will be required throughout 2.6 at
> this stage.
>
> Does that clarify?

ah, ok, that makes sense.

but still, file2alias (as of test9) doesn't output the entries for pnp
devices...


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