Skip to content

Commit a49daa0

Browse files
committed
Added FLIB PCI ID to kernel module for auto enumeration.
1 parent a816279 commit a49daa0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

patches/linux_uio/uio_pci_dma.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,13 +481,17 @@ remove(struct pci_dev *pci_device)
481481
}
482482

483483

484+
static DEFINE_PCI_DEVICE_TABLE(id_table) = {
485+
{PCI_DEVICE(0x10dc, 0xbeaf) }, /* FLIB intermediate PCI ID */
486+
{ 0, }
487+
};
484488

485489
static
486490
struct pci_driver
487491
driver =
488492
{
489493
.name = DRIVER_NAME,
490-
.id_table = NULL,
494+
.id_table = id_table,
491495
.probe = probe,
492496
.remove = remove
493497
};

0 commit comments

Comments
 (0)