summaryrefslogtreecommitdiff
path: root/sys/dev/pci/vga_pcivar.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2013-03-18 10:12:41 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2013-03-18 10:12:41 +0000
commitb8a430d035021395991d3025ab45ff3dc771b7c5 (patch)
tree6dd9be1cf6804034bbc501a0218e05835c8e9569 /sys/dev/pci/vga_pcivar.h
parente100eb18a555e36a0d02e6cc57a3c5ada4de5289 (diff)
Provide a way for *drm(4) to prevent the VGA text console wsdisplay(4) instance
from attaching after it has taken over control of the VGA hardware. ok mpi@
Diffstat (limited to 'sys/dev/pci/vga_pcivar.h')
-rw-r--r--sys/dev/pci/vga_pcivar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/vga_pcivar.h b/sys/dev/pci/vga_pcivar.h
index defbc7a1ddb..ed3ec62b7b0 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.15 2012/08/22 20:58:30 mpi Exp $ */
+/* $OpenBSD: vga_pcivar.h,v 1.16 2013/03/18 10:12:40 kettenis Exp $ */
/* $NetBSD: vga_pcivar.h,v 1.1 1998/03/22 15:16:19 drochner Exp $ */
/*
@@ -55,6 +55,7 @@ struct vga_pci_bar {
struct vga_pci_softc {
struct device sc_dev;
struct vga_config *sc_vc;
+ int sc_type;
struct pci_attach_args pa;
struct vga_pci_bar *bars[VGA_PCI_MAX_BARS];
@@ -79,7 +80,6 @@ struct vga_pci_softc {
u_char sc_cmap_red[256]; /* saved color map */
u_char sc_cmap_green[256];
u_char sc_cmap_blue[256];
-
#endif
};