Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

cpqarray: enable bus mastering

We've been carrying this patch for the last 3 years in Fedora,
long past time we got it upstream...

Call pci_set_master to enable bus-mastering if the BIOS hasn't
done it already.

Signed-off-by: Kyle McMartin <kyle@redhat.com>
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

authored by

Dave Jones and committed by
Jens Axboe
0061d386 d3992286

+1
+1
drivers/block/cpqarray.c
··· 617 617 int i; 618 618 619 619 c->pci_dev = pdev; 620 + pci_set_master(pdev); 620 621 if (pci_enable_device(pdev)) { 621 622 printk(KERN_ERR "cpqarray: Unable to Enable PCI device\n"); 622 623 return -1;