Re: Stripping in module

From: Wakko Warner
Date: Mon Jul 25 2005 - 11:12:27 EST


Michael Tokarev wrote:
> Wakko Warner wrote:
> []
> > I would also be interested in this. For instance the AIC7xxx driver has
> > every PCI id in the module I think in the .modinfo section which is not
> > truely required once depmod has been run. []
>
> The .modinfo section, for example the PCI IDs, IS required for the
> module to function properly. The kernel and the module uses that
> tables to determime which devices to work with, and with which paramteres.

I stripped out the section that had alias= and other vars from aic7xxx and
it still worked. Not all modules worked doing that.

--
Lab tests show that use of micro$oft causes cancer in lab animals
-
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/