Provide a header for UKBD_LAYOUT. It makes more sense, and it avoids

quoting issues during the build process.

Reported and checked by spz@.
This commit is contained in:
cube 2005-06-13 16:41:44 +00:00
parent 1981d397d6
commit 8a116ca5d3
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: files.usb,v 1.60 2005/04/15 17:18:18 itohy Exp $
# $NetBSD: files.usb,v 1.61 2005/06/13 16:41:44 cube Exp $
#
# Config file and device description for machine-independent USB code.
# Included by ports that need it. Ports that use it must provide
@ -72,6 +72,7 @@ attach uhid at uhidbus
file dev/usb/uhid.c uhid needs-flag
# Keyboards
defparam UKBD_LAYOUT
device ukbd: hid, wskbddev
attach ukbd at uhidbus
file dev/usb/ukbd.c ukbd needs-flag

View File

@ -1,4 +1,4 @@
/* $NetBSD: ukbd.c,v 1.88 2005/05/03 18:37:46 jonathan Exp $ */
/* $NetBSD: ukbd.c,v 1.89 2005/06/13 16:41:44 cube Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ukbd.c,v 1.88 2005/05/03 18:37:46 jonathan Exp $");
__KERNEL_RCSID(0, "$NetBSD: ukbd.c,v 1.89 2005/06/13 16:41:44 cube Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -73,6 +73,7 @@ __KERNEL_RCSID(0, "$NetBSD: ukbd.c,v 1.88 2005/05/03 18:37:46 jonathan Exp $");
#include <dev/wscons/wsksymdef.h>
#include <dev/wscons/wsksymvar.h>
#include "opt_ukbd_layout.h"
#include "opt_wsdisplay_compat.h"
#include "opt_ddb.h"