[USB-BRINGUP-TRUNK]

- Fix a BSOD during usbstor device initialization
- Enable usbstor in 1st stage

svn path=/branches/usb-bringup-trunk/; revision=55036
This commit is contained in:
Cameron Gutman 2012-01-21 00:31:09 +00:00
parent bac7373d51
commit 336d055fa8
2 changed files with 4 additions and 4 deletions

View file

@ -76,7 +76,7 @@ USB\ROOT_HUB20 = usbhub
;PCI\CC_0C0300 = usbuhci
PCI\CC_0C0310 = usbohci
PCI\CC_0C0320 = usbehci
;USB\Class_08&SubClass_06&Prot_50 = usbstor
USB\Class_08&SubClass_06&Prot_50 = usbstor
HID_DEVICE_SYSTEM_KEYBOARD = kbdhid
[BootBusExtenders.Load]

View file

@ -411,7 +411,7 @@ USBSTOR_SelectConfigurationAndInterface(
//
DPRINT1("USBSTOR_SelectConfiguration failed to set interface %x\n", Status);
FreeItem(InterfaceList);
FreeItem(Urb);
ExFreePool(Urb);
return Status;
}
@ -425,7 +425,7 @@ USBSTOR_SelectConfigurationAndInterface(
// failed to allocate interface information structure
//
FreeItem(InterfaceList);
FreeItem(Urb);
ExFreePool(Urb);
return Status;
}
@ -470,7 +470,7 @@ USBSTOR_SelectConfigurationAndInterface(
// free interface list & urb
//
FreeItem(InterfaceList);
FreeItem(Urb);
ExFreePool(Urb);
//
// done