From 43e2e22b40e8f36e358e44ac2e4d575767d5b165 Mon Sep 17 00:00:00 2001 From: Sebastian Doell Date: Tue, 19 Mar 2024 13:56:10 +0100 Subject: [PATCH] [NXDRVLINUX-148] - Add auto-loading of the kernel module for known PCI cards. --- uio_netx/uio_netx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/uio_netx/uio_netx.c b/uio_netx/uio_netx.c index 5f7e9bc..f82a77e 100644 --- a/uio_netx/uio_netx.c +++ b/uio_netx/uio_netx.c @@ -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,