[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0708171736170.30502@fbirervta.pbzchgretzou.qr>
Date: Fri, 17 Aug 2007 17:37:01 +0200 (CEST)
From: Jan Engelhardt <jengelh@...putergmbh.de>
To: David Brownell <david-b@...bell.net>
cc: Atsushi Nemoto <anemo@....ocn.ne.jp>, a.zummo@...ertech.it,
linux-kernel@...r.kernel.org, rtc-linux@...glegroups.com,
dbrownell@...rs.sourceforge.net
Subject: Re: [PATCH] rtc: Make rtc-ds1742 driver hotplug-aware
On Aug 17 2007 08:23, David Brownell wrote:
>On Friday 17 August 2007, Jan Engelhardt wrote:
>> On Aug 17 2007 01:06, Atsushi Nemoto wrote:
>> >Add an MODULE_ALIAS() to make this platform driver hotplug-aware.
>> >
>> >...
>> >+MODULE_ALIAS("ds1742");
>>
>> Why exactly is this needed? What script refers to the module as ds1742 instead
>> of rtc-ds1742? Regular hotplug (e.g. udev/modprobe) also go by PCI ID or
>> whatever is applicable and load the module which provides support for said ID.
>
>Most busses don't have managed device IDs like PCI, USB, or PNP.
>
>The platform, spi, and i2c busses use the driver name, which is
>obviously managed within the scope of all Linux drivers.
>
Yeah but that does not tell me why it needs the ds1742 alias
if scripts (whatever they use to discover it) could modprobe rtc-ds1742
instead.
Jan
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists