PERFORCE change 145225 for review

Hans Petter Selasky hselasky at FreeBSD.org
Mon Jul 14 13:42:24 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=145225

Change 145225 by hselasky at hselasky_laptop001 on 2008/07/14 13:42:04

	
	USB lookup bugfix. Have switched less than and greater than macros.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb2/core/usb2_lookup.h#6 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb2/core/usb2_lookup.h#6 (text+ko) ====

@@ -79,10 +79,10 @@
 #define	USB_VPI(vend,prod,info)			\
   USB_VENDOR(vend), USB_PRODUCT(prod), USB_DRIVER_INFO(info)
 
-#define	USB_DEV_BCD_LTEQ(lo)	/* less than or equal */ \
+#define	USB_DEV_BCD_GTEQ(lo)	/* greater than or equal */ \
   .match_flag_dev_lo = 1, .bcdDevice_lo = (lo)
 
-#define	USB_DEV_BCD_GTEQ(hi)	/* greater than or equal */ \
+#define	USB_DEV_BCD_LTEQ(hi)	/* less than or equal */ \
   .match_flag_dev_hi = 1, .bcdDevice_hi = (hi)
 
 #define	USB_DEV_CLASS(dc)			\


More information about the p4-projects mailing list