Date: Sat, 16 Feb 2002 13:10:33 -0800 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: freebsd-current@freebsd.org Subject: usbdevs breaks world Message-ID: <20020216131033.A18203@troutmask.apl.washington.edu>
next in thread | raw e-mail | index | archive | help
Recent, USB change break world. The following patch
fixes the broken world, but not be best patch.
--
Steve
--- usbdevs.c.orig Sat Feb 16 12:19:10 2002
+++ usbdevs.c Sat Feb 16 12:26:41 2002
@@ -88,8 +88,17 @@
done[a] = 1;
printf("addr %d: ", di.addr);
if (verbose) {
- if (di.lowspeed)
+ switch(di.speed) {
+ case USB_SPEED_LOW:
printf("low speed, ");
+ break;
+ case USB_SPEED_FULL:
+ printf("full speed, ");
+ break;
+ case USB_SPEED_HIGH:
+ printf("high speed, ");
+ break;
+ }
if (di.power)
printf("power %d mA, ", di.power);
else
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020216131033.A18203>
