Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm use ukbd_cnattach()
details: https://anonhg.NetBSD.org/src/rev/3b0a8e924e97
branches: trunk
changeset: 326246:3b0a8e924e97
user: hkenken <hkenken%NetBSD.org@localhost>
date: Thu Jan 23 12:23:20 2014 +0000
description:
use ukbd_cnattach()
diffstat:
sys/arch/evbarm/conf/NETWALKER | 4 ++--
sys/arch/evbarm/netwalker/netwalker_machdep.c | 16 +++++++++++++---
2 files changed, 15 insertions(+), 5 deletions(-)
diffs (69 lines):
diff -r 3c193a58f3ae -r 3b0a8e924e97 sys/arch/evbarm/conf/NETWALKER
--- a/sys/arch/evbarm/conf/NETWALKER Thu Jan 23 11:45:46 2014 +0000
+++ b/sys/arch/evbarm/conf/NETWALKER Thu Jan 23 12:23:20 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: NETWALKER,v 1.21 2013/06/30 21:38:56 rmind Exp $
+# $NetBSD: NETWALKER,v 1.22 2014/01/23 12:23:20 hkenken Exp $
#
# NETWALKER -- http://www.sharp.co.jp/netwalker/
#
@@ -172,7 +172,7 @@
imxuart0 at axi? addr 0x73fbc000 irq 31 # UART1
#imxuart1 at axi? addr 0x73fc0000 irq 32
#imxuart2 at axi? addr 0x7000c000 irq 33
-options IMXUARTCONSOLE
+#options IMXUARTCONSOLE
# Clock Control
imxccm0 at axi? addr 0x73fd4000
diff -r 3c193a58f3ae -r 3b0a8e924e97 sys/arch/evbarm/netwalker/netwalker_machdep.c
--- a/sys/arch/evbarm/netwalker/netwalker_machdep.c Thu Jan 23 11:45:46 2014 +0000
+++ b/sys/arch/evbarm/netwalker/netwalker_machdep.c Thu Jan 23 12:23:20 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netwalker_machdep.c,v 1.11 2013/08/18 15:58:21 matt Exp $ */
+/* $NetBSD: netwalker_machdep.c,v 1.12 2014/01/23 12:23:20 hkenken Exp $ */
/*
* Copyright (c) 2002, 2003, 2005, 2010 Genetec Corporation.
@@ -102,7 +102,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netwalker_machdep.c,v 1.11 2013/08/18 15:58:21 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netwalker_machdep.c,v 1.12 2014/01/23 12:23:20 hkenken Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -113,6 +113,8 @@
#include "imxuart.h"
#include "opt_imxuart.h"
#include "opt_imx.h"
+#include "opt_imx51_ipuv3.h"
+#include "wsdisplay.h"
#include <sys/param.h>
#include <sys/device.h>
@@ -156,6 +158,11 @@
#include <arm/imx/imx51_iomuxreg.h>
#include <evbarm/netwalker/netwalker_reg.h>
+#include "ukbd.h"
+#if (NUKBD > 0)
+#include <dev/usb/ukbdvar.h>
+#endif
+
/* Kernel text starts 1MB in from the bottom of the kernel address space. */
#define KERNEL_TEXT_BASE (KERNEL_BASE + 0x00100000)
#define KERNEL_VM_BASE (KERNEL_BASE + 0x01000000)
@@ -1233,7 +1240,10 @@
#endif
-#if (NWSDISPLAY > 0) && defined(IMXLCDCONSOLE)
+#if (NWSDISPLAY > 0) && defined(IMXIPUCONSOLE)
+#if NUKBD > 0
+ ukbd_cnattach();
+#endif
{
extern void netwalker_cnattach(void);
netwalker_cnattach();
Home |
Main Index |
Thread Index |
Old Index