Hi,

tg3 driver is the network driver software for broadcom's Gigabit Ethernet card (NIC). I was going through this driver for my learning.

In this driver code, I didn't see any function for claiming/probing the device. I have seen only the device table containing the list of devices supported by this driver. I wonder, how the device claiming happens in this linux 2.6 kernel tg3 driver.

I could see only the macro 'MODULE_DEVICE_TABLE(pci, tg3_pci_tbl);' used in this driver. Is this relates to the device claiming ?


could you please help me in explain me the process how the device getting claimed by this tg3 driver ?

Thanks,