diff options
author | Hemant Pedanekar <hemantp@ti.com> | 2011-04-05 12:32:50 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-06-03 10:34:48 +0900 |
commit | 872b58c1256fa27e17c52b098a55a4d6c92b2584 (patch) | |
tree | 1981ce1998161bc5834aef9b4b6db7cbf5e71a0c /lib/halfmd4.c | |
parent | 0ab692407602f96ad71d62f9c551fdba4529c803 (diff) | |
download | lwn-872b58c1256fa27e17c52b098a55a4d6c92b2584.tar.gz lwn-872b58c1256fa27e17c52b098a55a4d6c92b2584.zip |
PCI: Add quirk for setting valid class for TI816X Endpoint
commit 63c4408074cbcc070ac17fc10e524800eb9bd0b0 upstream.
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@ti.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/halfmd4.c')
0 files changed, 0 insertions, 0 deletions