Re: Best practice for loading platform modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 29, 2009 at 3:46 PM, Kay Sievers <kay.sievers@xxxxxxxx> wrote:
> On Wed, Apr 29, 2009 at 21:35, Chris Hallinan <challinan@xxxxxxxxx> wrote:
>
>> Erm, I am the distro maintainer!  I tried just today w/ 2.6.29.  The
>> problem seems like a mismatch.  Kernel passes "platform:musb_hdrc".
>> Udev receives and passes same to modprobe.  The answer I'm seeking is
>> "what is the correct/proper approach?"  Should I seek to modify the
>> kernel and remove the "platform:" prefix, or should I seek a
>> modification to modprobe to be able to understand and strip off the
>> "platform:" prefix?  Or should udev have a construct/rules syntax to
>> strip the "platform:" prefix?
>
> The module itself, if that's still needed.
>

OK, the light bulb just came on!

Thanks, Kay, and Greg for hanging in there with me.  I added
MODULE_ALIAS("platform:musb_hdrc) to musb_core.c, and all works as advertised.

Thanks again,

Chris



-- 
Life is like Linux - it never stands still.
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux