summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/pci/vgafb_pcivar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/powerpc/pci/vgafb_pcivar.h')
-rw-r--r--sys/arch/powerpc/pci/vgafb_pcivar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/powerpc/pci/vgafb_pcivar.h b/sys/arch/powerpc/pci/vgafb_pcivar.h
index ac6d110e893..feb61954d3a 100644
--- a/sys/arch/powerpc/pci/vgafb_pcivar.h
+++ b/sys/arch/powerpc/pci/vgafb_pcivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vgafb_pcivar.h,v 1.1 2000/09/06 02:12:15 rahnds Exp $ */
+/* $OpenBSD: vgafb_pcivar.h,v 1.2 2000/11/21 02:03:45 deraadt Exp $ */
/* $NetBSD: vga_pcivar.h,v 1.1 1996/11/19 04:38:36 cgd Exp $ */
/*
@@ -31,6 +31,8 @@
#define DEVICE_IS_VGA_PCI(class, id) \
(((PCI_CLASS(class) == PCI_CLASS_DISPLAY && \
PCI_SUBCLASS(class) == PCI_SUBCLASS_DISPLAY_VGA) || \
+ (((PCI_CLASS(class) == PCI_CLASS_DISPLAY && \
+ PCI_SUBCLASS(class) == PCI_SUBCLASS_DISPLAY_MISC) || \
(PCI_CLASS(class) == PCI_CLASS_PREHISTORIC && \
PCI_SUBCLASS(class) == PCI_SUBCLASS_PREHISTORIC_VGA)) ? 1 : 0)