提交 0061d386 编写于 作者: D Dave Jones 提交者: Jens Axboe

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: NKyle McMartin <kyle@redhat.com>
Signed-off-by: NDave Jones <davej@redhat.com>
Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
上级 d3992286
......@@ -617,6 +617,7 @@ static int cpqarray_pci_init(ctlr_info_t *c, struct pci_dev *pdev)
int i;
c->pci_dev = pdev;
pci_set_master(pdev);
if (pci_enable_device(pdev)) {
printk(KERN_ERR "cpqarray: Unable to Enable PCI device\n");
return -1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册