cbdma: skip initializing any PCI devices
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 30 Aug 2019 19:40:58 +0000 (15:40 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 1 Oct 2019 14:17:01 +0000 (10:17 -0400)
In lieu of using the Linux IOAT driver, we don't want to muck with the
same PCI device another driver is using.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/drivers/dev/cbdma.c

index 9ec2ce0..e68ae45 100644 (file)
@@ -855,6 +855,9 @@ void cbdmainit(void)
        int id;
        struct pci_device *pci_iter;
 
+       printk("cbdma: skipping it\n");
+       return;
+
        /* assigning global variables */
        pci             = NULL;
        mmio            = NULL;