lkml.org 
[lkml]   [2007]   [Apr]   [16]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 16 Apr 2007 02:31:13 -0400
FromKyle McMartin <>
SubjectRe: [PATCH] sparc64: modalias support for of_device
On Sun, Apr 15, 2007 at 10:06:39PM -0700, David Miller wrote:
> How does this work?  Does some program walk through sysfs
> scanning the attributes of devices, and this triggers
> module matching?
>

As I understand it, the sysfs code will send a modalias event that
udev picks up. When depmod runs over the modules, it will generate a
device table (modules.ofmap) that udev will inspect to figure out which
module to load for the given of_device_id.

Cheers,
	Kyle M.
-
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/

\
 
 \ /
  Last update: 2007-04-16 08:39    [from the cache]
©2003-2008