[NXDRVLINUX-148] - Add auto-loading of the kernel module for known PCI cards.

This commit is contained in:
Sebastian Doell 2024-03-19 13:56:10 +01:00
parent ac2f4d1789
commit 43e2e22b40

View File

@ -566,6 +566,9 @@ static struct pci_device_id netx_pci_ids[] = {
{ 0, }
};
/* publish PCI ids, to provide automatic load for known PCI cards */
MODULE_DEVICE_TABLE(pci, netx_pci_ids);
static struct pci_driver netx_pci_driver = {
.name = "netx",
.id_table = netx_pci_ids,