Re: [PATCH] sparc64: modalias support for of_device

From: Kyle McMartin
Date: Mon Apr 16 2007 - 02:36:31 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/