mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 07:04:24 +00:00
drm/bochs: add Bochs PCI ID for Simics model
Current (and older) Simics models for the Bochs VGA used the wrong PCI vendor ID (0x4321 instead of 0x1234). Although this can hopefully be fixed in the future, it is a problem for users of the current version, not the least because to update the device ID the BIOS has to be rebuilt in order to see BIOS output. Add support for the 4321:1111 device number in addition to the 1234:1111 one. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com> Link: http://patchwork.freedesktop.org/patch/msgid/20210910010655.2356245-1-hpa@zytor.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
0b7383331c
commit
78afff2ace
1 changed files with 8 additions and 0 deletions
|
@ -63,6 +63,7 @@ MODULE_PARM_DESC(defy, "default y resolution");
|
||||||
|
|
||||||
enum bochs_types {
|
enum bochs_types {
|
||||||
BOCHS_QEMU_STDVGA,
|
BOCHS_QEMU_STDVGA,
|
||||||
|
BOCHS_SIMICS,
|
||||||
BOCHS_UNKNOWN,
|
BOCHS_UNKNOWN,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -695,6 +696,13 @@ static const struct pci_device_id bochs_pci_tbl[] = {
|
||||||
.subdevice = PCI_ANY_ID,
|
.subdevice = PCI_ANY_ID,
|
||||||
.driver_data = BOCHS_UNKNOWN,
|
.driver_data = BOCHS_UNKNOWN,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.vendor = 0x4321,
|
||||||
|
.device = 0x1111,
|
||||||
|
.subvendor = PCI_ANY_ID,
|
||||||
|
.subdevice = PCI_ANY_ID,
|
||||||
|
.driver_data = BOCHS_SIMICS,
|
||||||
|
},
|
||||||
{ /* end of list */ }
|
{ /* end of list */ }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue