Re: Two module-init-

From: Scott James Remnant
Date: Fri Dec 02 2005 - 04:05:31 EST


On Fri, 2005-12-02 at 11:12 +1100, Rusty Russell wrote:

> On Wed, 2005-11-30 at 14:09 +0000, Scott James Remnant wrote:
> > Hi Rusty,
> >
> > Attached are two patches to module-init-tools from Ubuntu.
> >
> > The first (input_table_size) is a catch-up with 2.6.15, it's adding an
> > extra field to the input_device_id struct; m-u-t needs updating to be
> > able to read the modules correctly.
>
> Unfortunately, it's not that simple. Your patch will break previous
> kernels, which have a smaller structure. I've had the discussion years
> ago with the input people on using module aliases, and it's not entirely
> trivial. I will prepare another patch, however.
>
Are the modules.*map files intended to be deprecated entirely in favour
of aliases? The problem this patch fixed was that the parser couldn't
read the tables, so produced invalid output for the modules (ie. an
empty modules.inputmap).

Scott
--
Scott James Remnant
scott@xxxxxxxxxx

Attachment: signature.asc
Description: This is a digitally signed message part