diff options
author | Paul Irofti <pirofti@cvs.openbsd.org> | 2009-06-06 04:38:19 +0000 |
---|---|---|
committer | Paul Irofti <pirofti@cvs.openbsd.org> | 2009-06-06 04:38:19 +0000 |
commit | 580e5001e3400f2df0f750c306d739aaf1cb6929 (patch) | |
tree | 0a6d6bc61a9d91fd8bd51ab9576dfa25de50288c /sys/dev | |
parent | a0213c2ae7b042ded867a7062b034704e5665fcc (diff) |
Remove the last VGA_POST defines with X86EMU. Okay deraadt@.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/vga_pci.c | 6 | ||||
-rw-r--r-- | sys/dev/pci/vga_pcivar.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/pci/vga_pci.c b/sys/dev/pci/vga_pci.c index 7c34674d7fa..ade0289d995 100644 --- a/sys/dev/pci/vga_pci.c +++ b/sys/dev/pci/vga_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vga_pci.c,v 1.43 2009/06/06 00:35:00 pirofti Exp $ */ +/* $OpenBSD: vga_pci.c,v 1.44 2009/06/06 04:38:18 pirofti Exp $ */ /* $NetBSD: vga_pci.c,v 1.3 1998/06/08 06:55:58 thorpej Exp $ */ /* @@ -91,7 +91,7 @@ #include <dev/wscons/wsconsio.h> #include <dev/wscons/wsdisplayvar.h> -#ifdef VGA_POST +#ifdef X86EMU #include <machine/vga_post.h> #endif @@ -191,7 +191,7 @@ vga_pci_attach(struct device *parent, struct device *self, void *aux) vga_pci_bar_init(sc, pa); -#ifdef VGA_POST +#ifdef X86EMU if ((sc->sc_posth = vga_post_init(pa->pa_bus, pa->pa_device, pa->pa_function)) == NULL) printf("couldn't set up vga POST handler\n"); diff --git a/sys/dev/pci/vga_pcivar.h b/sys/dev/pci/vga_pcivar.h index 3d93764e9b5..c800258c256 100644 --- a/sys/dev/pci/vga_pcivar.h +++ b/sys/dev/pci/vga_pcivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vga_pcivar.h,v 1.12 2009/06/06 00:35:00 pirofti Exp $ */ +/* $OpenBSD: vga_pcivar.h,v 1.13 2009/06/06 04:38:18 pirofti Exp $ */ /* $NetBSD: vga_pcivar.h,v 1.1 1998/03/22 15:16:19 drochner Exp $ */ /* @@ -57,7 +57,7 @@ struct vga_pci_softc { struct pci_attach_args pa; struct vga_pci_bar *bars[VGA_PCI_MAX_BARS]; -#ifdef VGA_POST +#ifdef X86EMU struct vga_post *sc_posth; #endif #ifdef VESAFB |