Subject: kern/8385: ukbd declaration in files.usb does not have "needs-flag"
To: None <gnats-bugs@gnats.netbsd.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: netbsd-bugs
Date: 09/12/1999 09:56:11
>Number:         8385
>Category:       kern
>Synopsis:       ukbd declaration in files.usb does not have "needs-flag"
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 12 09:50:01 1999
>Last-Modified:
>Originator:     Izumi Tsutsui
>Organization:
Izumi Tsutsui	Himeji City, Japan
>Release:        NetBSD current-19990910
>Environment:
NetBSD/macppc 1.4K, on UMAX Apus2000

>Description:
ukbd declaration in files.usb does not have "needs-flag"
so "ukbd.h" would not be created by config(8).
cninit() in macppc/machdep.c calls ukbd_cnattach() and
requires a NUKBD flag.

>How-To-Repeat:
config and make macppc GENERIC kernel.
'make depend' complains ukbd.h is not found.

>Fix:
Add "needs-flag" in files.usb.

--- /sys/dev/usb/files.usb.orig	Sun Sep 12 00:57:27 1999
+++ /sys/dev/usb/files.usb	Mon Sep 13 01:29:30 1999
@@ -42,7 +42,7 @@
 # Keyboards
 device	ukbd: wskbddev
 attach	ukbd at uhub
-file	dev/usb/ukbd.c			ukbd
+file	dev/usb/ukbd.c			ukbd		needs-flag
 file	dev/usb/ukbdmap.c		ukbd
 
 # Printers

>Audit-Trail:
>Unformatted: