Re: [PATCH] rtc: Make rtc-ds1742 driver hotplug-aware

From: David Brownell
Date: Fri Aug 17 2007 - 12:55:26 EST


On Friday 17 August 2007, Kay Sievers wrote:
> Again,

"Again"?


> the only sane solution is to provide MODALIAS="platform:<name>"
> from the platform bus, and adding the aliases to drivers who support
> autoloading. Modalias strings are not free-text strings, they are
> required to be prefixed by the subsystem.

If so, then whoever tried to change the usage of module aliases
in that way goofed in several ways. First, by not changing all
the in-kernel uses. Second, by not changing all the out-of-tree
uses in various distros, toolchains, etc. Third, by not even
documenting that change...

Module aliases have been around since very early versions of
stuff like "modprobe" ... without that new rule. Aliases have
always been


> I still fail to see why platform must be different from everything
> else in the kernel.

It isn't. See above.


> Please change that stuff, and the bugs which we
> are fighting magically go away, because module-init-tools alias
> resolving works like it does for every other subsystem in the kernel.

Those bugs would be ... what? "We" haven't observed anything
attributable to this usage, which has been common for years now.

- Dave

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