VirtualBox

Changeset 29338 in vbox


Ignore:
Timestamp:
May 11, 2010 10:50:56 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
61443
Message:

Main: Fix LED handling for the SAS controller

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl2.cpp

    r29324 r29338  
    12031203                rc = CFGMR3InsertString(pLunL0, "Driver",               "MainStatus");  RC_CHECK();
    12041204                rc = CFGMR3InsertNode(pLunL0,   "Config", &pCfg);                       RC_CHECK();
    1205                 rc = CFGMR3InsertInteger(pCfg,  "papLeds", (uintptr_t)&pConsole->mapStorageLeds[iLedScsi]); RC_CHECK();
     1205                rc = CFGMR3InsertInteger(pCfg,  "papLeds", (uintptr_t)&pConsole->mapStorageLeds[iLedSas]); RC_CHECK();
    12061206                rc = CFGMR3InsertInteger(pCfg,  "First",    0);                         RC_CHECK();
    1207                 Assert(cLedScsi >= 16);
    1208                 rc = CFGMR3InsertInteger(pCfg,  "Last",     15)        ;                RC_CHECK();
    1209                 paLedDevType = &pConsole->maStorageDevType[iLedScsi];
     1207                Assert(cLedScsi >= 8);
     1208                rc = CFGMR3InsertInteger(pCfg,  "Last",     7);                         RC_CHECK();
     1209                paLedDevType = &pConsole->maStorageDevType[iLedSas];
    12101210                break;
    12111211            }
Note: See TracChangeset for help on using the changeset viewer.

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