cd ...... works unnormally in shell
USB CBI1 driver has no component name protocol 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2328 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
xgu3
2007-01-26 08:35:57 +00:00
parent b4667b1105
commit c7916981cc
4 changed files with 252 additions and 5 deletions

View File

@@ -20,6 +20,8 @@ Abstract:
#include "cbi.h"
extern EFI_COMPONENT_NAME_PROTOCOL gUsbCbi1ComponentName;
EFI_STATUS
EFIAPI
UsbCBI1DriverEntryPoint (
@@ -113,7 +115,7 @@ Cbi1ReportStatusCode (
);
EFI_DRIVER_BINDING_PROTOCOL gCBI1DriverBinding = {
EFI_DRIVER_BINDING_PROTOCOL gUsbCbi1DriverBinding = {
CBI1DriverBindingSupported,
CBI1DriverBindingStart,
CBI1DriverBindingStop,
@@ -352,6 +354,14 @@ CBI1DriverBindingStart (
goto ErrorExit;
}
UsbCbiDev->ControllerNameTable = NULL;
AddUnicodeString (
"eng",
gUsbCbi1ComponentName.SupportedLanguages,
&UsbCbiDev->ControllerNameTable,
(CHAR16 *) L"Usb Cbi1 Mass Storage"
);
return EFI_SUCCESS;
ErrorExit: