Changeset 33142 in vbox for trunk/src/VBox/Devices/Bus
- Timestamp:
- Oct 14, 2010 5:25:09 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 66674
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevPciIch9.cpp
r33127 r33142 415 415 return VINF_SUCCESS; 416 416 } 417 418 417 419 418 static int ich9pciDataRead(PPCIGLOBALS pGlobals, uint32_t addr, int len, uint32_t *pu32) … … 1353 1352 static uint32_t ich9pciConfigRead(PPCIGLOBALS pGlobals, uint8_t uBus, uint8_t uDevFn, uint32_t addr, uint32_t len) 1354 1353 { 1355 uint32_t u32Val;1354 uint32_t u32Val = 0xffffffff; 1356 1355 PciAddress aPciAddr; 1357 1356 … … 1862 1861 } PciSlotAssignments[] = { 1863 1862 { 1864 "piix3ide", 1, 1 // do we really need it?1865 },1866 {1867 1863 "lan", 25, 0 /* LAN controller */ 1868 1864 }, … … 1873 1869 "i82801", 30, 0 /* Host Controller */ 1874 1870 }, 1871 /** 1872 * Please note, that for devices being functions, like we do here, device 0 1873 * must be multifunction, i.e. have header type 0x80. Our LPC device is. 1874 * Alternative approach is to assign separate slot to each device. 1875 */ 1875 1876 { 1876 1877 "lpc", 31, 0 /* Low Pin Count bus */ 1877 1878 }, 1878 1879 { 1880 "piix3ide", 31, 1 /* IDE controller */ 1881 }, 1882 #if 0 1883 { 1879 1884 "ahci", 31, 2 /* SATA controller */ 1880 1885 }, 1886 #endif 1881 1887 { 1882 1888 "smbus", 31, 3 /* System Management Bus */ … … 1939 1945 * Find device position 1940 1946 */ 1941 if (iDev < 0 )1947 if (iDev < 0 || !strcmp(pszName, "piix3ide")) 1942 1948 { 1943 1949 iDev = assignPosition(pBus, pPciDev, pszName);
Note:
See TracChangeset
for help on using the changeset viewer.