summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <ssp@redhat.com>2011-07-26 13:44:30 -0400
committerSøren Sandmann Pedersen <ssp@localhost.localdomain>2011-08-18 08:57:40 -0400
commitd8711269d2c116223fe4fb4198ccec58eed9ba62 (patch)
treeb93679589ed9a8cbf5e4079e2fa19ef57601d8f0
parentd4a7afd1327bcb2fbf127c1e5f6b4410b993d020 (diff)
Ignore devices classes when matching PCI devices
A device_class of 0x00030000 means we will only match VGA compatible controllers, but when multiple devices are added to the VM, the additional ones will have subclass 0x8000 ("Display controller"). We need to be able to drive those too.
-rw-r--r--src/qxl_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qxl_driver.c b/src/qxl_driver.c
index 8850d45..a2a222e 100644
--- a/src/qxl_driver.c
+++ b/src/qxl_driver.c
@@ -1338,11 +1338,11 @@ enum qxl_class
static const struct pci_id_match qxl_device_match[] = {
{
PCI_VENDOR_RED_HAT, PCI_CHIP_QXL_0100, PCI_MATCH_ANY, PCI_MATCH_ANY,
- 0x00030000, 0x00ffffff, CHIP_QXL_1
+ 0x00000000, 0x00000000, CHIP_QXL_1
},
{
PCI_VENDOR_RED_HAT, PCI_CHIP_QXL_01FF, PCI_MATCH_ANY, PCI_MATCH_ANY,
- 0x00030000, 0x00ffffff, CHIP_QXL_1
+ 0x00000000, 0x00000000, CHIP_QXL_1
},
{ 0 },