File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -314,7 +314,6 @@ probe
314314 dma_device -> info .name = DRIVER_NAME ;
315315 dma_device -> info .version = UIO_PCI_DMA_VERSION ;
316316 dma_device -> info .irq = pci_device -> irq ;
317- dma_device -> info .irq_flags = IRQF_SHARED ;
318317 dma_device -> info .handler = irqhandler ;
319318 dma_device -> info .irq_flags = msi_enabled ? 0 : IRQF_SHARED ;
320319
@@ -481,13 +480,17 @@ remove(struct pci_dev *pci_device)
481480}
482481
483482
483+ static DEFINE_PCI_DEVICE_TABLE (id_table ) = {
484+ {PCI_DEVICE (0x10dc , 0x01a0 ) }, /* C-RORC PCI ID as registered at CERN */
485+ { 0 , }
486+ };
484487
485488static
486489struct pci_driver
487490driver =
488491{
489492 .name = DRIVER_NAME ,
490- .id_table = NULL ,
493+ .id_table = id_table ,
491494 .probe = probe ,
492495 .remove = remove
493496};
You can’t perform that action at this time.
0 commit comments