Author: cgutman
Date: Sun Jan 22 16:55:16 2012
New Revision: 55076
URL: http://svn.reactos.org/svn/reactos?rev=55076&view=rev
Log:
[USB-BRINGUP-TRUNK]
- Load the disk class for USB drives in 1st stage
- They don't show up on the partition page due to some usetup stuff that needs to be changed
Modified:
branches/usb-bringup-trunk/boot/bootdata/txtsetup.sif
Modified: branches/usb-bringup-trunk/boot/bootdata/txtsetup.sif
URL: http://svn.reactos.org/svn/reactos/branches/usb-bringup-trunk/boot/bootdata…
==============================================================================
--- branches/usb-bringup-trunk/boot/bootdata/txtsetup.sif [iso-8859-1] (original)
+++ branches/usb-bringup-trunk/boot/bootdata/txtsetup.sif [iso-8859-1] Sun Jan 22 16:55:16 2012
@@ -78,6 +78,7 @@
PCI\CC_0C0320 = usbehci
USB\Class_08&SubClass_06&Prot_50 = usbstor
HID_DEVICE_SYSTEM_KEYBOARD = kbdhid
+GenDisk = disk
[BootBusExtenders.Load]
acpi = acpi.sys
@@ -100,6 +101,7 @@
[SCSI.Load]
uniata = uniata.sys
buslogic = buslogic.sys
+disk = disk.sys
[Cabinets]
Cabinet=reactos.cab
Author: janderwald
Date: Sun Jan 22 14:58:19 2012
New Revision: 55071
URL: http://svn.reactos.org/svn/reactos?rev=55071&view=rev
Log:
[USBHUB]
- Fix build
Modified:
branches/usb-bringup-trunk/drivers/usb/usbhub_new/pdo.c
Modified: branches/usb-bringup-trunk/drivers/usb/usbhub_new/pdo.c
URL: http://svn.reactos.org/svn/reactos/branches/usb-bringup-trunk/drivers/usb/u…
==============================================================================
--- branches/usb-bringup-trunk/drivers/usb/usbhub_new/pdo.c [iso-8859-1] (original)
+++ branches/usb-bringup-trunk/drivers/usb/usbhub_new/pdo.c [iso-8859-1] Sun Jan 22 14:58:19 2012
@@ -433,7 +433,7 @@
//
// does the device provide a text description
//
- if (ChildDeviceExtension->usTextDescription->Buffer && ChildDeviceExtension->usTextDescription->Length)
+ if (ChildDeviceExtension->usTextDescription.Buffer && ChildDeviceExtension->usTextDescription.Length)
{
//
// use device text
Author: janderwald
Date: Sun Jan 22 14:51:32 2012
New Revision: 55070
URL: http://svn.reactos.org/svn/reactos?rev=55070&view=rev
Log:
[USBHUB]
- Check if there is device description buffer, as some usb devices don't provide one
Modified:
branches/usb-bringup-trunk/drivers/usb/usbhub_new/pdo.c
Modified: branches/usb-bringup-trunk/drivers/usb/usbhub_new/pdo.c
URL: http://svn.reactos.org/svn/reactos/branches/usb-bringup-trunk/drivers/usb/u…
==============================================================================
--- branches/usb-bringup-trunk/drivers/usb/usbhub_new/pdo.c [iso-8859-1] (original)
+++ branches/usb-bringup-trunk/drivers/usb/usbhub_new/pdo.c [iso-8859-1] Sun Jan 22 14:51:32 2012
@@ -429,7 +429,17 @@
case DeviceTextLocationInformation:
{
DPRINT1("IRP_MJ_PNP / IRP_MN_QUERY_DEVICE_TEXT / DeviceTextDescription\n");
- SourceString = &ChildDeviceExtension->usTextDescription;
+
+ //
+ // does the device provide a text description
+ //
+ if (ChildDeviceExtension->usTextDescription->Buffer && ChildDeviceExtension->usTextDescription->Length)
+ {
+ //
+ // use device text
+ //
+ SourceString = &ChildDeviceExtension->usTextDescription;
+ }
break;
}
default: