On Tue, Jan 10, 2006 at 04:54:48PM -0500, Medeiros Edward M NPRI wrote: > Hello, > > > > I am looking at the accompanying code to the book "Linux Device > Drivers, 3rd edition". The file is "pci_skel.c". My question is how > does the "pci_skel_init()" function get called? Is it called > automatically by the kernel when the driver module gets loaded? Yes, see the line: module_init(pci_skel_init); That does it. See earlier chapters in the book which explain 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/