summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/hppa/gsc/gsckbc.c9
-rw-r--r--sys/arch/sgi/dev/iockbc.c6
-rw-r--r--sys/arch/sgi/dev/mkbc.c6
3 files changed, 10 insertions, 11 deletions
diff --git a/sys/arch/hppa/gsc/gsckbc.c b/sys/arch/hppa/gsc/gsckbc.c
index 52e3ac27455..3a450c53118 100644
--- a/sys/arch/hppa/gsc/gsckbc.c
+++ b/sys/arch/hppa/gsc/gsckbc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gsckbc.c,v 1.13 2010/12/03 18:29:56 shadchin Exp $ */
+/* $OpenBSD: gsckbc.c,v 1.14 2012/08/10 17:49:31 shadchin Exp $ */
/*
* Copyright (c) 2003, Miodrag Vallat.
* All rights reserved.
@@ -591,12 +591,11 @@ pckbc_poll_data(self, slot)
}
int
-pckbc_xt_translation(self, slot, on)
+pckbc_xt_translation(self)
pckbc_tag_t self;
- pckbc_slot_t slot;
- int on;
{
- return (0);
+ /* Translation isn't supported... */
+ return (-1);
}
void
diff --git a/sys/arch/sgi/dev/iockbc.c b/sys/arch/sgi/dev/iockbc.c
index 59d334cf98a..adc4f9627e2 100644
--- a/sys/arch/sgi/dev/iockbc.c
+++ b/sys/arch/sgi/dev/iockbc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iockbc.c,v 1.7 2010/12/03 18:29:56 shadchin Exp $ */
+/* $OpenBSD: iockbc.c,v 1.8 2012/08/10 17:49:31 shadchin Exp $ */
/*
* Copyright (c) 2006, 2007, 2009 Joel Sing <jsing@openbsd.org>
*
@@ -785,10 +785,10 @@ restart:
*/
int
-pckbc_xt_translation(pckbc_tag_t self, pckbc_slot_t slot, int on)
+pckbc_xt_translation(pckbc_tag_t self)
{
/* Translation isn't supported... */
- return 0;
+ return (-1);
}
/* For use in autoconfiguration. */
diff --git a/sys/arch/sgi/dev/mkbc.c b/sys/arch/sgi/dev/mkbc.c
index 71576b9ca53..751477ec2fd 100644
--- a/sys/arch/sgi/dev/mkbc.c
+++ b/sys/arch/sgi/dev/mkbc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mkbc.c,v 1.11 2011/04/07 15:30:16 miod Exp $ */
+/* $OpenBSD: mkbc.c,v 1.12 2012/08/10 17:49:31 shadchin Exp $ */
/*
* Copyright (c) 2006, 2007, Joel Sing
@@ -659,10 +659,10 @@ restart:
*/
int
-pckbc_xt_translation(pckbc_tag_t self, pckbc_slot_t slot, int on)
+pckbc_xt_translation(pckbc_tag_t self)
{
/* Translation isn't supported... */
- return 0;
+ return (-1);
}
/* For use in autoconfiguration. */