29 #include <linux/module.h>
30 #include <linux/pci.h>
33 #include <linux/slab.h>
43 #define PCI_DEVICE_ID_INTEL_IOAT_IVB0 0x0e20
44 #define PCI_DEVICE_ID_INTEL_IOAT_IVB1 0x0e21
45 #define PCI_DEVICE_ID_INTEL_IOAT_IVB2 0x0e22
46 #define PCI_DEVICE_ID_INTEL_IOAT_IVB3 0x0e23
47 #define PCI_DEVICE_ID_INTEL_IOAT_IVB4 0x0e24
48 #define PCI_DEVICE_ID_INTEL_IOAT_IVB5 0x0e25
49 #define PCI_DEVICE_ID_INTEL_IOAT_IVB6 0x0e26
50 #define PCI_DEVICE_ID_INTEL_IOAT_IVB7 0x0e27
51 #define PCI_DEVICE_ID_INTEL_IOAT_IVB8 0x0e2e
52 #define PCI_DEVICE_ID_INTEL_IOAT_IVB9 0x0e2f
116 static int ioat_dca_enabled = 1;
118 MODULE_PARM_DESC(ioat_dca_enabled,
"control support of dca service (default: 1)");
122 #define DRV_NAME "ioatdma"
126 .id_table = ioat_pci_tbl,
127 .probe = ioat_pci_probe,
168 err = pci_set_consistent_dma_mask(pdev,
DMA_BIT_MASK(64));
170 err = pci_set_consistent_dma_mask(pdev,
DMA_BIT_MASK(32));
178 pci_set_drvdata(pdev, device);
191 dev_err(dev,
"Intel(R) I/OAT DMA Engine init failed\n");
205 dev_err(&pdev->
dev,
"Removing dma and dca services\n");
214 static int __init ioat_init_module(
void)
218 pr_info(
"%s: Intel(R) QuickData Technology Driver %s\n",
226 err = pci_register_driver(&ioat_pci_driver);
234 static void __exit ioat_exit_module(
void)