Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sun2 Added the prom_kbdid function, to help us figu...
details: https://anonhg.NetBSD.org/src/rev/f4e1bde47503
branches: trunk
changeset: 515654:f4e1bde47503
user: fredette <fredette%NetBSD.org@localhost>
date: Mon Oct 01 01:46:56 2001 +0000
description:
Added the prom_kbdid function, to help us figure out if
the console keyboard is on the parallel interface or zs1.
diffstat:
sys/arch/sun2/include/promlib.h | 3 ++-
sys/arch/sun2/sun2/promlib.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r 9359a748ba19 -r f4e1bde47503 sys/arch/sun2/include/promlib.h
--- a/sys/arch/sun2/include/promlib.h Mon Oct 01 00:28:02 2001 +0000
+++ b/sys/arch/sun2/include/promlib.h Mon Oct 01 01:46:56 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: promlib.h,v 1.2 2001/06/14 13:15:21 fredette Exp $ */
+/* $NetBSD: promlib.h,v 1.3 2001/10/01 01:46:56 fredette Exp $ */
/*-
* Copyright (c) 1999, 2001 The NetBSD Foundation, Inc.
@@ -64,6 +64,7 @@
int prom_memsize __P((void));
int prom_stdin __P((void));
int prom_stdout __P((void));
+int prom_kbdid __P((void));
int prom_getchar __P((void));
int prom_peekchar __P((void));
void prom_putchar __P((int));
diff -r 9359a748ba19 -r f4e1bde47503 sys/arch/sun2/sun2/promlib.c
--- a/sys/arch/sun2/sun2/promlib.c Mon Oct 01 00:28:02 2001 +0000
+++ b/sys/arch/sun2/sun2/promlib.c Mon Oct 01 01:46:56 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: promlib.c,v 1.6 2001/08/26 18:39:15 fredette Exp $ */
+/* $NetBSD: promlib.c,v 1.7 2001/10/01 01:46:57 fredette Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -165,6 +165,7 @@
PROMLIB_FUNC(int, prom_memsize, (void), memorySize, + 0, return(rc))
PROMLIB_FUNC(int, prom_stdin, (void), inSource, + 0, return(rc))
PROMLIB_FUNC(int, prom_stdout, (void), outSink, + 0, return(rc))
+PROMLIB_FUNC(int, prom_kbdid, (void), keyBid, + 0, return(rc))
PROMLIB_FUNC(int, prom_getchar, (void), getChar, (), return(rc))
PROMLIB_FUNC(int, prom_peekchar, (void), mayGet, (), return(rc))
PROMLIB_FUNC(void, prom_putchar, (int c), putChar, (c), return)
Home |
Main Index |
Thread Index |
Old Index