VirtualBox

Changeset 33722 in vbox for trunk/src/VBox/Devices/Bus


Ignore:
Timestamp:
Nov 3, 2010 12:56:43 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
67351
Message:

Main, PCI: uniform PCI slots management, please watch/report regressions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Bus/DevPciIch9.cpp

    r33687 r33722  
    19641964    int32_t     iFunction;
    19651965} PciSlotAssignments[] = {
    1966     /* Due to somewhat inflexible PCI bus configuration, ConsoleImpl hardcodes 0:5:0 as HDA address, so we shalln't put elsewhere */
    1967 #if 0
    1968     {
    1969         "lan",      25, 0 /* LAN controller */
    1970     },
    1971     {
    1972         "hda",      27, 0 /* High Definition Audio */
    1973     },
    1974 #endif
     1966    /* The only override that have to be here, as host controller is added in the way invisible to bus slot assignment management,
     1967       maybe to be changed in the future. */
    19751968    {
    19761969        "i82801",   30, 0 /* Host Controller */
    1977     },
    1978     /**
    1979      *  Please note, that for devices being functions, like we do here, device 0
    1980      *  must be multifunction, i.e. have header type 0x80. Our LPC device is.
    1981      *  Alternative approach is to assign separate slot to each device.
    1982      */
    1983     {
    1984         "lpc",      31, 0 /* Low Pin Count bus */
    1985     },
    1986     {
    1987         "piix3ide", 31, 1 /* IDE controller */
    1988     },
    1989     /* Disable, if we may wish to have multiple AHCI controllers */
    1990     {
    1991         "ahci",     31, 2 /* SATA controller */
    1992     },
    1993     {
    1994         "smbus",    31, 3 /* System Management Bus */
    1995     },
    1996     {
    1997         "usb-ohci", 31, 4 /* OHCI USB controller */
    1998     },
    1999     {
    2000         "usb-ehci", 31, 5 /* EHCI USB controller */
    2001     },
    2002     {
    2003         "thermal",  31, 6 /* Thermal controller */
    20041970    },
    20051971};
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette