Re: [PATCH] pci: Add quirk for setting valid class for TI816XEndpoint

From: Jesse Barnes
Date: Tue Apr 12 2011 - 12:15:49 EST


On Tue, 5 Apr 2011 12:32:50 +0530
Hemant Pedanekar <hemantp@xxxxxx> wrote:

> TI816X (common name for DM816x/C6A816x/AM389x family) devices configured to boot
> as PCIe Endpoint have class code = 0. This makes kernel PCI bus code to skip
> allocating BARs to these devices resulting into following type of error when
> trying to enable them:
>
> "Device 0000:01:00.0 not available because of resource collisions"
>
> The device cannot be operated because of the above issue.
>
> This patch adds a ID specific (TI VENDOR ID and 816X DEVICE ID based) 'early'
> fixup quirk to replace class code with PCI_CLASS_MULTIMEDIA_VIDEO as class.
>
> Signed-off-by: Hemant Pedanekar <hemantp@xxxxxx>
> ---

Applied to my linux-next branch, thanks.

--
Jesse Barnes, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/