Remove pcconskbd(4) support code since this port doesn't have pcconskbd(4)

and the code was conditional on a macro that was never defined anyway.
This commit is contained in:
bjh21 2004-02-09 19:37:43 +00:00
parent d77d1962dd
commit 36727732df
2 changed files with 6 additions and 12 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.13 2003/07/15 01:37:35 lukem Exp $ */
/* $NetBSD: machdep.c,v 1.14 2004/02/09 19:37:43 bjh21 Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.13 2003/07/15 01:37:35 lukem Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.14 2004/02/09 19:37:43 bjh21 Exp $");
#include "opt_marvell.h"
#include "opt_ev64260.h"
@ -370,11 +370,8 @@ consinit(void)
int
pckbc_machdep_cnattach(pckbc_tag_t kbctag, pckbc_slot_t kbcslot)
{
#if (NPC > 0)
return (pcconskbd_cnattach(kbctag, kbcslot));
#else
return (ENXIO);
#endif
}
#endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.29 2003/10/20 00:12:11 matt Exp $ */
/* $NetBSD: machdep.c,v 1.30 2004/02/09 19:37:43 bjh21 Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.29 2003/10/20 00:12:11 matt Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.30 2004/02/09 19:37:43 bjh21 Exp $");
#include "opt_compat_netbsd.h"
#include "opt_ddb.h"
@ -309,11 +309,8 @@ consinit(void)
int
pckbc_machdep_cnattach(pckbc_tag_t kbctag, pckbc_slot_t kbcslot)
{
#if (NPC > 0)
return (pcconskbd_cnattach(kbctag, kbcslot));
#else
return (ENXIO);
#endif
}
#endif