[Doubt ON PCI]function -- ixgbe_probe in ixgbe driver of linux kernel --Where and when it be called or actived?

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

 



Dear Prof.,
It's my first time to access the maillist. I do not know it's valid. :-)
Recently I am reading ixgbe driver source code. I am confused about
the pci_register_driver(). The following code:

5478 static struct pci_driver ixgbe_driver = {
 5479    .name     = ixgbe_driver_name,
 5480    .id_table = ixgbe_pci_tbl,
 5481    .probe    = ixgbe_probe,
 5482    .remove   = __devexit_p(ixgbe_remove),
 5483 #ifdef CONFIG_PM
 5484    .suspend  = ixgbe_suspend,
 5485    .resume   = ixgbe_resume,
 5486 #endif
 5487 #ifndef USE_REBOOT_NOTIFIER
 5488    .shutdown = ixgbe_shutdown,
 5489 #endif
 5490 #ifdef HAVE_PCI_ERS
 5491    .err_handler = &ixgbe_err_handler
 5492 #endif
 5493 };
the .probe=ixgbe_probe, function is registered to the PCI core
competent. I want to know When and Where it is called? if the 10G NIC
is plugged in the slot before the Driver is installed, the kernel how
to activate the NIC.

Thanks.
Best regards.
-Yanfei

--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux