summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-04 14:28:26 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-04 14:28:26 +0000
commitae8c709ea4042640d9e665ac1c74b68dc75e3931 (patch)
tree7c8f485175be3985f85055d976a910099d607f84
parent37a25cf35d1b6a90dcfe232e165f9bcd3df0a77e (diff)
downloadrtems-ae8c709ea4042640d9e665ac1c74b68dc75e3931.tar.bz2
2002-11-04 Joel Sherrill <joel@OARcorp.com>
* console/i8042.c: Removed warnings.
-rw-r--r--c/src/lib/libbsp/powerpc/ppcn_60x/ChangeLog4
-rw-r--r--c/src/lib/libbsp/powerpc/ppcn_60x/console/i8042.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/ppcn_60x/ChangeLog b/c/src/lib/libbsp/powerpc/ppcn_60x/ChangeLog
index 34bfd6cad7..e804e80e02 100644
--- a/c/src/lib/libbsp/powerpc/ppcn_60x/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/ppcn_60x/ChangeLog
@@ -1,3 +1,7 @@
+2002-11-04 Joel Sherrill <joel@OARcorp.com>
+
+ * console/i8042.c: Removed warnings.
+
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Reformat.
diff --git a/c/src/lib/libbsp/powerpc/ppcn_60x/console/i8042.c b/c/src/lib/libbsp/powerpc/ppcn_60x/console/i8042.c
index 418303e036..3883f65906 100644
--- a/c/src/lib/libbsp/powerpc/ppcn_60x/console/i8042.c
+++ b/c/src/lib/libbsp/powerpc/ppcn_60x/console/i8042.c
@@ -241,6 +241,8 @@ i8042_inbyte_raw(
return RTEMS_SUCCESSFUL;
}
+#if CONSOLE_USE_INTERRUPTS
+
/*
* Send a command to the keyboard controller
*/
@@ -270,6 +272,7 @@ i8042_outbyte_cmd_polled(
}
return RTEMS_TIMEOUT;
}
+#endif
void EnqueueKbdChar(
int minor,