how kernel detect device and make proble() called?

Greg KH greg at kroah.com
Thu Nov 13 21:00:01 UTC 2008


On Thu, Nov 13, 2008 at 12:38:14PM -0800, hong zhang wrote:
> List,
> 
> Example is PCI ethernet card. how kernel knows NIC is inserted to PCI bus and call .probe?

This is explained in great detail in the book, Linux Device Drivers,
Third Edition, which is free online if you don't want to purchase it.
I suggest reading that first, and then if you still have questions
afterward, please let us know.

thanks,

greg k-h



More information about the devel mailing list