Re: driver associated with device

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

 



On Thu, Jan 31, 2008 at 05:46:03AM +0530, Onkar wrote:
> How to get the driver associated with the device ? for e.g. dirver
> associated with SATA drive , driver associated with eth0 ?

Look at the sysfs links from the device back to the driver.  There are
also links from a driver to the module that it is contained in (multiple
drivers can be in a single module.)

See the book, Linux Kernel in a Nutshell, free online, for details on
how to follow these sysfs links if you need more information.

thanks,

greg k-h

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux