Changeset 32724 in vbox for trunk/src/VBox/Devices/Network/DevE1000.cpp
- Timestamp:
- Sep 23, 2010 1:54:39 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevE1000.cpp
r32160 r32724 5546 5546 e1kPCICfgSetU16(pci, VBOX_PCI_COMMAND, 0x0000); 5547 5547 /* DEVSEL Timing (medium device), 66 MHz Capable, New capabilities */ 5548 e1kPCICfgSetU16(pci, VBOX_PCI_STATUS, 0x0230); 5548 e1kPCICfgSetU16(pci, VBOX_PCI_STATUS, 5549 VBOX_PCI_STATUS_DEVSEL_MEDIUM | VBOX_PCI_STATUS_CAP_LIST | VBOX_PCI_STATUS_66MHZ); 5549 5550 /* Stepping A2 */ 5550 5551 e1kPCICfgSetU8( pci, VBOX_PCI_REVISION_ID, 0x02); … … 5572 5573 /* PCI Power Management Registers ****************************************/ 5573 5574 /* Capability ID: PCI Power Management Registers */ 5574 e1kPCICfgSetU8( pci, 0xDC, 0x01);5575 e1kPCICfgSetU8( pci, 0xDC, VBOX_PCI_CAP_ID_PM); 5575 5576 /* Next Item Pointer: PCI-X */ 5576 5577 e1kPCICfgSetU8( pci, 0xDC + 1, 0xE4); 5577 5578 /* Power Management Capabilities: PM disabled, DSI */ 5578 e1kPCICfgSetU16(pci, 0xDC + 2, 0x0022); 5579 e1kPCICfgSetU16(pci, 0xDC + 2, 5580 0x0002 | VBOX_PCI_PM_CAP_DSI); 5579 5581 /* Power Management Control / Status Register: PM disabled */ 5580 5582 e1kPCICfgSetU16(pci, 0xDC + 4, 0x0000); … … 5586 5588 /* PCI-X Configuration Registers *****************************************/ 5587 5589 /* Capability ID: PCI-X Configuration Registers */ 5588 e1kPCICfgSetU8( pci, 0xE4, 0x07);5590 e1kPCICfgSetU8( pci, 0xE4, VBOX_PCI_CAP_ID_PCIX); 5589 5591 /* Next Item Pointer: None (Message Signalled Interrupts are disabled) */ 5590 5592 e1kPCICfgSetU8( pci, 0xE4 + 1, 0x00); 5591 5593 /* PCI-X Command: Enable Relaxed Ordering */ 5592 e1kPCICfgSetU16(pci, 0xE4 + 2, 0x0002);5594 e1kPCICfgSetU16(pci, 0xE4 + 2, VBOX_PCI_X_CMD_ERO); 5593 5595 /* PCI-X Status: 32-bit, 66MHz*/ 5596 /// @todo: is this value really correct? fff8 doesn't look like actual PCI address 5594 5597 e1kPCICfgSetU32(pci, 0xE4 + 4, 0x0040FFF8); 5595 5598 } … … 5966 5969 #endif /* IN_RING3 */ 5967 5970 #endif /* !VBOX_DEVICE_STRUCT_TESTCASE */ 5968
Note:
See TracChangeset
for help on using the changeset viewer.