aboutsummaryrefslogtreecommitdiff
path: root/sysutils/hal/files/patch-hald_freebsd_probe-usb2-device.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/hal/files/patch-hald_freebsd_probe-usb2-device.c')
-rw-r--r--sysutils/hal/files/patch-hald_freebsd_probe-usb2-device.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/sysutils/hal/files/patch-hald_freebsd_probe-usb2-device.c b/sysutils/hal/files/patch-hald_freebsd_probe-usb2-device.c
index 35a8690095d8..41ed8936a07e 100644
--- a/sysutils/hal/files/patch-hald_freebsd_probe-usb2-device.c
+++ b/sysutils/hal/files/patch-hald_freebsd_probe-usb2-device.c
@@ -1,5 +1,5 @@
---- hald/freebsd/probing/probe-usb2-device.c.orig 2011-06-30 13:46:55.000000000 +0200
-+++ hald/freebsd/probing/probe-usb2-device.c 2011-06-30 13:49:19.000000000 +0200
+--- hald/freebsd/probing/probe-usb2-device.c.orig 2009-08-24 05:42:29.000000000 -0700
++++ hald/freebsd/probing/probe-usb2-device.c 2011-12-30 17:20:52.000000000 -0800
@@ -148,15 +148,16 @@
bcdspeed = 0x01200;
break;
@@ -30,3 +30,12 @@
case UD_USB_3_0:
version = 3.0;
break;
+@@ -184,7 +188,7 @@
+ libhal_device_set_property_int(hfp_ctx, hfp_udi,
+ "usb_device.vendor_id", di.udi_vendorNo, &hfp_error);
+ libhal_device_set_property_int(hfp_ctx, hfp_udi,
+- "usb_device.device_revision_bcd", ddesc->bcdUSB, &hfp_error);
++ "usb_device.device_revision_bcd", ddesc->bcdDevice, &hfp_error);
+ libhal_device_set_property_string(hfp_ctx, hfp_udi,
+ "usb_device.serial", di.udi_serial, &hfp_error);
+ libhal_device_set_property_string(hfp_ctx, hfp_udi, \ No newline at end of file