Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Feb 2002 09:14:12 -0700
From:      huntting@glarp.com
To:        hackers@freebsd.org
Subject:   compile problem with usbdev on 5.0
Message-ID:  <200202161614.g1GGECR18917@hunkular.glarp.com>

next in thread | raw e-mail | index | archive | help
Two days in a row I've had problems with make world when compiling
usr.sbin/usbdevs.c.  It appears the struct usb_device_info was
changed.  The following patch seems like it might be the right
solution:


brad

--- usr.sbin/usbdevs.c.orig	Mon Nov 22 18:16:10 1999
+++ usr.sbin/usbdevs.c	Sat Feb 16 09:03:31 2002
@@ -88,7 +88,7 @@
 	done[a] = 1;
 	printf("addr %d: ", di.addr);
 	if (verbose) {
-		if (di.lowspeed)
+		if (di.speed == USB_SPEED_LOW)
 			printf("low speed, ");
 		if (di.power)
 			printf("power %d mA, ", di.power);

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202161614.g1GGECR18917>