Re: [PATCH] sparc64: modalias support for of_device

2007-04-16 Thread Kyle McMartin
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

Re: [PATCH] sparc64: modalias support for of_device

2007-04-16 Thread Kyle McMartin
On Mon, Apr 16, 2007 at 12:19:33AM -0400, Kyle McMartin wrote: > Updated patch to rename modalias_show to of_modalias_show, and add the same code to arch/sparc. (Amusingly enough, just edited sparc64 to sparc in the diff and it re-applied. :) Cheers, Kyle diff --git

Re: [PATCH] sparc64: modalias support for of_device

2007-04-16 Thread Kyle McMartin
On Mon, Apr 16, 2007 at 12:19:33AM -0400, Kyle McMartin wrote: Updated patch to rename modalias_show to of_modalias_show, and add the same code to arch/sparc. (Amusingly enough, just edited sparc64 to sparc in the diff and it re-applied. :) Cheers, Kyle diff --git

Re: [PATCH] sparc64: modalias support for of_device

2007-04-16 Thread Kyle McMartin
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

Re: [PATCH] sparc64: modalias support for of_device

2007-04-15 Thread David Miller
From: Kyle McMartin <[EMAIL PROTECTED]> Date: Mon, 16 Apr 2007 00:19:33 -0400 > Quick patch to add modalias support for of_device to arch/sparc64 so > sbus drivers can be automatically loaded (I hope :) > > Untested, as I'm sparc-less at the moment. Thanks Kyle. How does this work? Does some

[PATCH] sparc64: modalias support for of_device

2007-04-15 Thread Kyle McMartin
Hi Dave, Quick patch to add modalias support for of_device to arch/sparc64 so sbus drivers can be automatically loaded (I hope :) Untested, as I'm sparc-less at the moment. Cheers, Kyle diff --git a/arch/sparc64/kernel/of_device.c b/arch/sparc64/kernel/of_device.c index

[PATCH] sparc64: modalias support for of_device

2007-04-15 Thread Kyle McMartin
Hi Dave, Quick patch to add modalias support for of_device to arch/sparc64 so sbus drivers can be automatically loaded (I hope :) Untested, as I'm sparc-less at the moment. Cheers, Kyle diff --git a/arch/sparc64/kernel/of_device.c b/arch/sparc64/kernel/of_device.c index

Re: [PATCH] sparc64: modalias support for of_device

2007-04-15 Thread David Miller
From: Kyle McMartin [EMAIL PROTECTED] Date: Mon, 16 Apr 2007 00:19:33 -0400 Quick patch to add modalias support for of_device to arch/sparc64 so sbus drivers can be automatically loaded (I hope :) Untested, as I'm sparc-less at the moment. Thanks Kyle. How does this work? Does some