fix wrong pci id for qemu pci-serial-4x
This commit is contained in:
parent
7228ff3b12
commit
0277f11570
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ int uart_init(void)
|
|||
if (pci_get_device_info(0x1b36, 0x0003, iobase, &pci_info) == 0)
|
||||
goto Lsuccess;
|
||||
// Searching for Qemu's 4x UART device (pci-serial-4x)
|
||||
if (pci_get_device_info(0x1b36, 0x0003, iobase, &pci_info) == 0)
|
||||
if (pci_get_device_info(0x1b36, 0x0004, iobase, &pci_info) == 0)
|
||||
goto Lsuccess;
|
||||
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Reference in a new issue