[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090316090524.GM27476@kernel.dk>
Date: Mon, 16 Mar 2009 10:05:24 +0100
From: Jens Axboe <jens.axboe@...cle.com>
To: Kyle McMartin <kyle@...radead.org>
Cc: mike.miller@...com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH trivial] cpqarray: enable bus mastering
On Sun, Mar 15 2009, Kyle McMartin wrote:
> From: Dave Jones <davej@...hat.com>
>
> 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@...hat.com>
> Signed-off-by: Dave Jones <davej@...hat.com>
>
> --- a/drivers/block/cpqarray.c 2006-10-06 14:23:34.000000000 -0400
> +++ b/drivers/block/cpqarray.c 2006-10-06 14:25:16.000000000 -0400
> @@ -614,6 +614,7 @@ static int cpqarray_pci_init(ctlr_info_t
> 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;
Thanks Kyle, looks pretty innocent. Queued up for 2.6.30.
--
Jens Axboe
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists