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



On Fri, 17 Aug 2007 18:32:19 +0200, "Kay Sievers" <kay.sievers@xxxxxxxx> wrote:
I guess there are some out-of-tree users of this driver, but fixing
them is really trivial, so I don't think this is a big compatibility
problem.

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.

I guess your objection is to my usage of MODULE_ALIAS, right?

I will send a patch to change the driver name string, because I did
not use the different name intentionally, I just had not thought about
hotplugging at all. I think there is no serious reason to stick with
current driver name anyway.

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



Relevant Pages

  • PCMCIA product id strings -> hashes generation at compilation time? [Was: Re: [patch 14/38] pcmci
    ... Most pcmcia devices are matched to drivers using "product ID strings" ... embedded in the devices' Card Information Structures, ... Only the hashes are stored in "modules.alias", ... While having to determine the crc32 hashes is a hassle to device driver ...
    (Linux-Kernel)
  • Re: updateRow() Fails
    ... This driver does not implement prepared statements in a compliant manner. ... Instead of using parameterized operations where there is no conversion of ... strings, the driver converts all parameters to string values for use in text ...
    (microsoft.public.sqlserver.jdbcdriver)
  • RE: Question on drivers installation during FBA and fbreseal
    ... C:\WINDOWS\inf\oem3.inf, using [STRINGS] instead. ... Effective driver date: 03/04/2003. ... #-166 Device install function: DIF_SELECTBESTCOMPATDRV. ... Does the first bootup after fbreseal reinstall the ...
    (microsoft.public.windowsxp.embedded)
  • Re: how to display messages during boot time
    ... the disk checker that occasionally kicks in as XP boots uses ... this fucntion to print strings to the screen. ... display strings if the video driver hasn't taken over yet, ...
    (microsoft.public.development.device.drivers)
  • Re: NT 4.0 printer drivers
    ... with the HP-provided driver for the same printer. ... Compare the strings for the model you want to use in each INF-file ... you'll get the error "Windows cannot locate a suitable ...
    (microsoft.public.windows.server.migration)