Subject: kern/8851: ohci needed for USB_DEBUG
To: None <gnats-bugs@gnats.netbsd.org>
From: None <hermit@cs.tu-berlin.de>
List: netbsd-bugs
Date: 11/22/1999 13:33:46
>Number:         8851
>Category:       kern
>Synopsis:       ohci needed for USB_DEBUG
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 22 13:33:01 1999
>Last-Modified:
>Originator:     Bjoern Labitzke
>Organization:
Bjoern Labitzke  <hermit@cs.tu-berlin.de>
   Use PGP! (Don't you use envelopes for your letters?)
>Release:        -current 21.11.99 <NetBSD-current source date>
>Environment:
	
System: NetBSD labitzke.isdn.cs.tu-berlin.de 1.4O NetBSD 1.4O (LABITZKE) #2: Thu Nov 18 21:03:09 CET 1999 hermit@labitzke.isdn.cs.tu-berlin.de:/usr/src/sys/arch/i386/compile/LABITZKE i386


>Description:
	When building a kernel with USB_DEBUG and USB_VERBOSE
	defined, ohci needs to be configured in addition to
	uhci. The behaviour changed to this only a short time
	ago. The error appears when compiling the kernel:

ld -Ttext F0100000 -e start -X -o netbsd ${SYSTEM_OBJ} vers.o
usb.o: In function `usbioctl':
/usr/src/sys/arch/i386/compile/LABITZKE/../../../../dev/usb/usb.c:427: undefined reference to `ohcidebug'
*** Error code 1
1 error 

	
>How-To-Repeat:
	Use the options USB_DEBUG and USB_VERBOSE (perhaps only the
	former) and leave the ohci configuration out of the
	configuration file.
	
>Fix:
	ohci should not be needed. Revert to the previous behaviour.
	Probably some #ifdef's need to be changed. Sorry, nothing
	else provided...
	
>Audit-Trail:
>Unformatted: