diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2013-03-18 10:12:41 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2013-03-18 10:12:41 +0000 |
commit | b8a430d035021395991d3025ab45ff3dc771b7c5 (patch) | |
tree | 6dd9be1cf6804034bbc501a0218e05835c8e9569 /sys/dev/pci/vga_pcivar.h | |
parent | e100eb18a555e36a0d02e6cc57a3c5ada4de5289 (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.h | 4 |
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 }; |