summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-11-22 21:08:09 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-11-22 21:08:09 +0000
commite2283e86a865f378d76263f7ffe7df29fb76925c (patch)
tree391efeac13e15be0bc88502545c8c632f1f9f6f5 /sys/arch
parentfe1202e78f2343b7fadaaa040a044c6ae0eb4fba (diff)
Remove unused (and dummied) bios console routines.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/i386/bios.c41
-rw-r--r--sys/arch/i386/include/biosvar.h7
2 files changed, 2 insertions, 46 deletions
diff --git a/sys/arch/i386/i386/bios.c b/sys/arch/i386/i386/bios.c
index 9e66ba4ffc8..0d1468ca79b 100644
--- a/sys/arch/i386/i386/bios.c
+++ b/sys/arch/i386/i386/bios.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bios.c,v 1.87 2010/03/28 12:08:49 kettenis Exp $ */
+/* $OpenBSD: bios.c,v 1.88 2010/11/22 21:08:07 miod Exp $ */
/*
* Copyright (c) 1997-2001 Michael Shalayeff
@@ -666,45 +666,6 @@ biosioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
return 0;
}
-void
-bioscnprobe(struct consdev *cn)
-{
-#if 0
- bios_init(I386_BUS_SPACE_MEM); /* XXX */
- if (!bios_cd.cd_ndevs)
- return;
-
- if (0 && bios_call(BOOTC_CHECK, NULL))
- return;
-
- cn->cn_pri = CN_LOWPRI;
- cn->cn_dev = makedev(48, 0);
-#endif
-}
-
-void
-bioscninit(struct consdev *cn)
-{
-
-}
-
-void
-bioscnputc(dev_t dev, int ch)
-{
-
-}
-
-int
-bioscngetc(dev_t dev)
-{
- return -1;
-}
-
-void
-bioscnpollc(dev_t dev, int on)
-{
-}
-
int
bios_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
size_t newlen, struct proc *p)
diff --git a/sys/arch/i386/include/biosvar.h b/sys/arch/i386/include/biosvar.h
index 8b3731157a6..fff38e62b79 100644
--- a/sys/arch/i386/include/biosvar.h
+++ b/sys/arch/i386/include/biosvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: biosvar.h,v 1.52 2009/04/30 13:47:16 dlg Exp $ */
+/* $OpenBSD: biosvar.h,v 1.53 2010/11/22 21:08:08 miod Exp $ */
/*
* Copyright (c) 1997-1999 Michael Shalayeff
@@ -251,11 +251,6 @@ struct proc;
int bios_sysctl(int *, u_int, void *, size_t *, void *, size_t, struct proc *);
-void bioscnprobe(struct consdev *);
-void bioscninit(struct consdev *);
-void bioscnputc(dev_t, int);
-int bioscngetc(dev_t);
-void bioscnpollc(dev_t, int);
void bios_getopt(void);
/* bios32.c */