Re: How does OS recognise a driver for a device.

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

 



--- Greg KH <greg@kroah.com> wrote:
> On Tue, Nov 19, 2002 at 09:47:49AM -0800, Ravi wrote:
> > >    I have a very simple question . How does 
> > > Linux know that it has to load driver 'x' for
> > > device 'y'.
> > 
> >  It doesn't :)
> 
> Um, yes, it can know this :)
> 
> See the hotplug documentation at http://linux-hotplug.sf.net/
> which shows how the kernel can automatically load modules
> when it sees devices of different types.  The PCI, USB,
> and a few other subsystems already do this.

 Even with hotplug, the kernel doesn't know which
driver to load, isn't that right? From what I understand,
the hotplug user mode agents have to be configured to
pick the right driver for a given card (based on the
information given by the kernel).
 What I tried to say in my earlier mail was: Kernel
can't pick the driver for a given device. Instead,
it associates devices with drivers when a driver
is loaded. Is that statement correct?

-Thanks,
 Ravi.

__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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