Changeset 64393 in vbox for trunk/src/VBox/Devices/Serial
- Timestamp:
- Oct 24, 2016 2:42:05 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Serial/DevSerial.cpp
r64387 r64393 1189 1189 #ifdef VBOX_SERIAL_PCI 1190 1190 /* the PCI device */ 1191 pThis->PciDev. config[0x00] = 0xee; /* Vendor: ??? */1192 pThis->PciDev. config[0x01] = 0x80;1193 pThis->PciDev. config[0x02] = 0x01; /* Device: ??? */1194 pThis->PciDev. config[0x03] = 0x01;1195 pThis->PciDev. config[0x04] = PCI_COMMAND_IOACCESS;1196 pThis->PciDev. config[0x09] = 0x01; /* Programming interface: 16450 */1197 pThis->PciDev. config[0x0a] = 0x00; /* Subclass: Serial controller */1198 pThis->PciDev. config[0x0b] = 0x07; /* Class: Communication controller */1199 pThis->PciDev. config[0x0e] = 0x00; /* Header type: standard */1200 pThis->PciDev. config[0x3c] = irq_lvl; /* preconfigure IRQ number (0 = autoconfig)*/1201 pThis->PciDev. config[0x3d] = 1; /* interrupt pin 0 */1191 pThis->PciDev.abConfig[0x00] = 0xee; /* Vendor: ??? */ 1192 pThis->PciDev.abConfig[0x01] = 0x80; 1193 pThis->PciDev.abConfig[0x02] = 0x01; /* Device: ??? */ 1194 pThis->PciDev.abConfig[0x03] = 0x01; 1195 pThis->PciDev.abConfig[0x04] = PCI_COMMAND_IOACCESS; 1196 pThis->PciDev.abConfig[0x09] = 0x01; /* Programming interface: 16450 */ 1197 pThis->PciDev.abConfig[0x0a] = 0x00; /* Subclass: Serial controller */ 1198 pThis->PciDev.abConfig[0x0b] = 0x07; /* Class: Communication controller */ 1199 pThis->PciDev.abConfig[0x0e] = 0x00; /* Header type: standard */ 1200 pThis->PciDev.abConfig[0x3c] = irq_lvl; /* preconfigure IRQ number (0 = autoconfig)*/ 1201 pThis->PciDev.abConfig[0x3d] = 1; /* interrupt pin 0 */ 1202 1202 #endif /* VBOX_SERIAL_PCI */ 1203 1203
Note:
See TracChangeset
for help on using the changeset viewer.