[lkml]   [2007]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 10/28] SERIO: add the sysfs driver name to all modules
On Thu, Feb 08, 2007 at 12:20:05PM -0500, Dmitry Torokhov wrote:
> Hi Greg,
> On 2/7/07, Greg KH <> wrote:
> >From: Greg Kroah-Hartman <>
> >
> >This adds the module name to all SERIO drivers, if they are built into
> >the kernel or not. It will show up in /sys/modules/MODULE_NAME/drivers/
> >
> What is this needed for?

All modules show up today in /sys/module/ no matter if they are built
into the kernel or not.

But, if they are built as a module, the /sys/module/drivers/ link was
present. This is not consistant, as we always want to see that link, no
matter if the driver is built in or not. So with this change, we now
always see the links.

I also fixed the PCI and USB drivers to do this as well.

Hope this helps explain it.


greg k-h
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-02-08 19:55    [W:0.090 / U:10.072 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site