cpqarray: enable bus mastering
PATCH 1/1 cpqarray: enable bus mastering
From: Dave Jones <[email protected]>
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.
drivers/block/cpqarray.c +1 -0
@@ -614,6 +614,7 @@ static int cpqarray_pci_init(ctlr_info_tint 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 ;
Quoted 14 lines · Kyle McMartin
From: Dave Jones <[email protected]>
We've been carrying this patch for the last 3 years in Fedora, long past time we got it upstream...
Call
pci_set_masterto enable bus-mastering if the BIOS hasn't done it already.Signed-off-by Kyle McMartin <[email protected]>Signed-off-by Dave Jones <[email protected]>
drivers/block/cpqarray.c static int cpqarray_pci_init(ctlr_info_t · line 620
Quoted 7 lines
drivers/block/cpqarray.c +1
-0@@ -614,6 +614,7 @@ static int cpqarray_pci_init(ctlr_info_tint 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 ;
Thanks Kyle, looks pretty innocent. Queued up for 2.6.30.
Signature · 1 line
Jens Axboe
Miller, Mike (OS Dev)
Reviewed-byQuoted 34 lines
-----Original Message-----
From: Jens Axboe [mailto:[email protected]]
Sent: Monday, March 16, 2009 4:05 AM
To: Kyle McMartin
Cc: Miller, Mike (OS Dev); [email protected]
Subject: Re: [PATCH trivial] cpqarray: enable bus masteringQuoted 6 lines · Kyle McMartin
From: Dave Jones <[email protected]>
We've been carrying this patch for the last 3 years in Fedora, long past time we got it upstream...
Call
pci_set_masterto enable bus-mastering if the BIOShasn't done it
Quoted 6 lines
already.
Signed-off-by Kyle McMartin <[email protected]>Signed-off-by Dave Jones <[email protected]>---
a/drivers/block/cpqarray.c2006-10-0614:23:34.000000000 -0400
Quoted 1 line
+++
b/drivers/block/cpqarray.c2006-10-0614:25:16.000000000 -0400
drivers/block/cpqarray.c static int cpqarray_pci_init(ctlr_info_t · line 619
Quoted 7 lines
drivers/block/cpqarray.c +1
-0@@ -614,6 +614,7 @@ static int cpqarray_pci_init(ctlr_info_tint i; c->pci_dev = pdev; +pci_set_master (pdev); if (pci_enable_device(pdev)) { printk(KERN_ERR "cpqarray: Unable to Enable PCIdevice\n");
Quoted 6 lines
drivers/block/cpqarray.c static int cpqarray_pci_init(ctlr_info_t · line 620
Quoted 1 line
drivers/block/cpqarray.c +0
-0return -1 ;Thanks Kyle, looks pretty innocent. Queued up for 2.6.30.
--
Jens Axboe