From owner-freebsd-hackers Sat Feb 16 8:14:15 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from hunkular.glarp.com (hunkular.glarp.com [199.117.25.251]) by hub.freebsd.org (Postfix) with ESMTP id 572D137B416 for ; Sat, 16 Feb 2002 08:14:13 -0800 (PST) Received: from hunkular.glarp.com (localhost [127.0.0.1]) by hunkular.glarp.com (8.11.6/8.11.6) with ESMTP id g1GGECR18917 for ; Sat, 16 Feb 2002 09:14:12 -0700 (MST) (envelope-from huntting@hunkular.glarp.com) Message-Id: <200202161614.g1GGECR18917@hunkular.glarp.com> To: hackers@freebsd.org Subject: compile problem with usbdev on 5.0 From: huntting@glarp.com Date: Sat, 16 Feb 2002 09:14:12 -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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