Changeset 44571 in vbox for trunk/src/VBox/Devices/Storage
- Timestamp:
- Feb 6, 2013 2:10:37 PM (12 years ago)
- Location:
- trunk/src/VBox/Devices/Storage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevAHCI.cpp
r44465 r44571 7995 7995 7996 7996 #ifdef VBOX_WITH_MSI_DEVICES 7997 PDMMSIREG aMsiReg; 7998 7999 RT_ZERO(aMsiReg); 8000 aMsiReg.cMsiVectors = 1; 8001 aMsiReg.iMsiCapOffset = 0x80; 8002 aMsiReg.iMsiNextOffset = 0x70; 8003 rc = PDMDevHlpPCIRegisterMsi(pDevIns, &aMsiReg); 8004 if (RT_FAILURE (rc)) 7997 PDMMSIREG MsiReg; 7998 RT_ZERO(MsiReg); 7999 MsiReg.cMsiVectors = 1; 8000 MsiReg.iMsiCapOffset = 0x80; 8001 MsiReg.iMsiNextOffset = 0x70; 8002 rc = PDMDevHlpPCIRegisterMsi(pDevIns, &MsiReg); 8003 if (RT_FAILURE(rc)) 8005 8004 { 8006 8005 LogRel(("Chipset cannot do MSI: %Rrc\n", rc)); -
trunk/src/VBox/Devices/Storage/DevLsiLogicSCSI.cpp
r44533 r44571 5073 5073 5074 5074 #ifdef VBOX_WITH_MSI_DEVICES 5075 PDMMSIREG aMsiReg;5076 RT_ZERO( aMsiReg);5075 PDMMSIREG MsiReg; 5076 RT_ZERO(MsiReg); 5077 5077 /* use this code for MSI-X support */ 5078 # if 05079 aMsiReg.cMsixVectors= 1;5080 aMsiReg.iMsixCapOffset= 0x80;5081 aMsiReg.iMsixNextOffset = 0x0;5082 aMsiReg.iMsixBar= 3;5083 # else5084 aMsiReg.cMsiVectors= 1;5085 aMsiReg.iMsiCapOffset= 0x80;5086 aMsiReg.iMsiNextOffset = 0x0;5087 # endif5088 rc = PDMDevHlpPCIRegisterMsi(pDevIns, & aMsiReg);5078 # if 0 5079 MsiReg.cMsixVectors = 1; 5080 MsiReg.iMsixCapOffset = 0x80; 5081 MsiReg.iMsixNextOffset = 0x00; 5082 MsiReg.iMsixBar = 3; 5083 # else 5084 MsiReg.cMsiVectors = 1; 5085 MsiReg.iMsiCapOffset = 0x80; 5086 MsiReg.iMsiNextOffset = 0x00; 5087 # endif 5088 rc = PDMDevHlpPCIRegisterMsi(pDevIns, &MsiReg); 5089 5089 if (RT_FAILURE (rc)) 5090 5090 {
Note:
See TracChangeset
for help on using the changeset viewer.