NetBSD Problem Report #6689
Received: (qmail 14742 invoked from network); 30 Dec 1998 13:12:30 -0000
Message-Id: <199812301310.WAA09375@edge.sky.yamashina.kyoto.jp>
Date: Wed, 30 Dec 1998 22:10:13 +0900 (JST)
From: taca@sky.yamashina.kyoto.jp (Takahiro Kambe)
Reply-To: taca@sky.yamashina.kyoto.jp
To: gnats-bugs@gnats.netbsd.org
Subject: kernel build fail without USB_DEBUG
X-Send-Pr-Version: 3.95
>Number: 6689
>Category: kern
>Synopsis: kernel build fail without USB_DEBUG
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 30 05:20:01 +0000 1998
>Closed-Date: Wed Dec 30 13:26:40 +0000 1998
>Last-Modified: Wed Dec 30 13:26:58 +0000 1998
>Originator: Takahiro Kambe
>Release: NetBSD-current 1998/12/30
>Organization:
>Environment:
NetBSD land.sky.yamashina.kyoto.jp 1.3I NetBSD 1.3I (LAND) #42: Wed Dec 30 21:45:51 JST 1998 taca@land.sky.yamashina.kyoto.jp:/usr/src/sys/arch/i386/compile/LAND i386
>Description:
Kernel build fail without USB_DEBUG option.
>How-To-Repeat:
Config without USB_DEBUG
>Fix:
Index: sys/dev/usb/uhci.c
*** sys/dev/usb/uhci.c 1998/12/30 12:34:00 1.1.1.1.2.4
--- sys/dev/usb/uhci.c 1998/12/30 12:39:42
***************
*** 1645,1652 ****
--- 1645,1654 ----
usbd_request_handle reqh;
{
struct uhci_pipe *upipe = (struct uhci_pipe *)reqh->pipe;
+ #ifdef USB_DEBUG
usbd_device_handle dev = upipe->pipe.device;
uhci_softc_t *sc = (uhci_softc_t *)dev->bus;
+ #endif
DPRINTFN(1,("uhci_device_isoc_transfer: sc=%p\n", sc));
if (upipe->u.iso.bufsize == 0)
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: augustss
State-Changed-When: Wed Dec 30 05:26:40 PST 1998
State-Changed-Why:
Patch applied.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.