summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-11-27 18:31:54 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-11-27 18:31:54 +0000
commitfe2d826627bc16fcdd5d11e7b1533270cd4bb587 (patch)
tree010ba828715701c669951d97e3b92fc16cdbfcc4 /sys/arch
parent8b7930d3fc4ca67ba0ca80e95fa8746df3a8fb5f (diff)
Remove unused vgafb_cnprobe().
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/macppc/pci/vgafb.c12
-rw-r--r--sys/arch/macppc/pci/vgafbvar.h3
2 files changed, 2 insertions, 13 deletions
diff --git a/sys/arch/macppc/pci/vgafb.c b/sys/arch/macppc/pci/vgafb.c
index 796e5bb5f70..729bfb90237 100644
--- a/sys/arch/macppc/pci/vgafb.c
+++ b/sys/arch/macppc/pci/vgafb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vgafb.c,v 1.37 2010/09/01 19:14:25 miod Exp $ */
+/* $OpenBSD: vgafb.c,v 1.38 2010/11/27 18:31:53 miod Exp $ */
/* $NetBSD: vga.c,v 1.3 1996/12/02 22:24:54 cgd Exp $ */
/*
@@ -390,16 +390,6 @@ vgafb_mmap(void *v, off_t offset, int prot)
return h;
}
-
-void
-vgafb_cnprobe(struct consdev *cp)
-{
- if (cons_displaytype != 1)
- return;
-
- cp->cn_pri = CN_MIDPRI;
-}
-
void
vgafb_cnattach(bus_space_tag_t iot, bus_space_tag_t memt, void *pc, int bus,
int device, int function)
diff --git a/sys/arch/macppc/pci/vgafbvar.h b/sys/arch/macppc/pci/vgafbvar.h
index 34d56ffe769..5eae1c67982 100644
--- a/sys/arch/macppc/pci/vgafbvar.h
+++ b/sys/arch/macppc/pci/vgafbvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vgafbvar.h,v 1.11 2006/04/09 12:22:56 matthieu Exp $ */
+/* $OpenBSD: vgafbvar.h,v 1.12 2010/11/27 18:31:53 miod Exp $ */
/* $NetBSD: vgavar.h,v 1.2 1996/11/23 06:06:43 cgd Exp $ */
/*
@@ -75,7 +75,6 @@ void vgafb_common_setup(bus_space_tag_t, bus_space_tag_t,
u_int32_t, size_t);
void vgafb_wscons_attach(struct device *, struct vgafb_config *, int);
void vgafb_wscons_console(struct vgafb_config *);
-void vgafb_cnprobe(struct consdev *cp);
void vgafb_cnattach(bus_space_tag_t iot, bus_space_tag_t memt,
void *pc, int bus, int device, int function);
void vgafb_wsdisplay_attach(struct device *parent,