To fix,
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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user