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

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

 



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.

thanks,

greg k-h
--
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