diff options
author | Alexandr Shadchin <shadchin@cvs.openbsd.org> | 2010-11-23 04:07:56 +0000 |
---|---|---|
committer | Alexandr Shadchin <shadchin@cvs.openbsd.org> | 2010-11-23 04:07:56 +0000 |
commit | 6c3fd4be2069e04c665d400d35dacfeb3188cd98 (patch) | |
tree | 743a1be9fd70652f9dbd173a39eab3de133ef22e /sys/arch/sparc64/dev/pckbc_ebus.c | |
parent | 4846dc5b38dce4b29e241b6320b4dac098e5e05f (diff) |
removed slot argument of function pckbc_cnattach
because it is always PCKBC_KBD_SLOT
ok krw@, miod@
Diffstat (limited to 'sys/arch/sparc64/dev/pckbc_ebus.c')
-rw-r--r-- | sys/arch/sparc64/dev/pckbc_ebus.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/sparc64/dev/pckbc_ebus.c b/sys/arch/sparc64/dev/pckbc_ebus.c index e232507c6c5..264afe043f8 100644 --- a/sys/arch/sparc64/dev/pckbc_ebus.c +++ b/sys/arch/sparc64/dev/pckbc_ebus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pckbc_ebus.c,v 1.11 2010/07/21 20:10:17 miod Exp $ */ +/* $OpenBSD: pckbc_ebus.c,v 1.12 2010/11/23 04:07:55 shadchin Exp $ */ /* * Copyright (c) 2002 Jason L. Wright (jason@thought.net) @@ -133,8 +133,7 @@ pckbc_ebus_attach(parent, self, aux) if (console) { if (pckbc_cnattach(sc->sc_iot, - EBUS_PADDR_FROM_REG(&ea->ea_regs[0]), KBCMDP, - PCKBC_KBD_SLOT, flags) == 0) { + EBUS_PADDR_FROM_REG(&ea->ea_regs[0]), KBCMDP, flags) == 0) { t = &pckbc_consdata; pckbc_console_attached = 1; sc->sc_ioh_c = t->t_ioh_c; |