Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Provide a header for UKBD_LAYOUT. It makes more...
details: https://anonhg.NetBSD.org/src/rev/ee6c729ab795
branches: trunk
changeset: 582013:ee6c729ab795
user: cube <cube%NetBSD.org@localhost>
date: Mon Jun 13 16:41:44 2005 +0000
description:
Provide a header for UKBD_LAYOUT. It makes more sense, and it avoids
quoting issues during the build process.
Reported and checked by spz@.
diffstat:
sys/dev/usb/files.usb | 3 ++-
sys/dev/usb/ukbd.c | 5 +++--
2 files changed, 5 insertions(+), 3 deletions(-)
diffs (43 lines):
diff -r 94dc97a550e8 -r ee6c729ab795 sys/dev/usb/files.usb
--- a/sys/dev/usb/files.usb Mon Jun 13 16:37:38 2005 +0000
+++ b/sys/dev/usb/files.usb Mon Jun 13 16:41:44 2005 +0000
@@ -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 @@
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
diff -r 94dc97a550e8 -r ee6c729ab795 sys/dev/usb/ukbd.c
--- a/sys/dev/usb/ukbd.c Mon Jun 13 16:37:38 2005 +0000
+++ b/sys/dev/usb/ukbd.c Mon Jun 13 16:41:44 2005 +0000
@@ -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 @@
#include <dev/wscons/wsksymdef.h>
#include <dev/wscons/wsksymvar.h>
+#include "opt_ukbd_layout.h"
#include "opt_wsdisplay_compat.h"
#include "opt_ddb.h"
Home |
Main Index |
Thread Index |
Old Index