Same thing. The preset entries in modutils util/alias.h are added to
whatever the user has in modules.conf. In some cases the preset
entries cannot be removed, they are cumulative so the hard coded entry
cannot be removed.
The preset entries already causes problems, why should modutils insist
on options sb io=0x220 irq=7 dma=1 dma16=5 mpu_io=0x330?
>Erm... Keith, I might be misreading the source, but... Shouldn't the
>information like "block major $FOO is in module $BAR" live in
>/lib/modules/*/* ?
Historically the mapping of device majors to module or binary format
type to module was coded into modutils, via util/alias.h. That was a
mistake, it should have used the same technique as pci, isapnp, parport
etc., each module has a table that defines what it handles and modutils
extracts the data directly from the modules. Developers have changed
the names of their modules and now we have hard coded module names in
modutils that do not match the names used by some kernels. Hindsight
is wonderful!
In modutils 2.5 I will get rid of all the hard coded entries in
util/alias.h. Instead each module will define what it supports,
including any special commands to be run when the module is loaded or
unloaded. Much easier for everyone and far more flexible.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/