summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/pci/vgafb_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/powerpc/pci/vgafb_pci.c')
-rw-r--r--sys/arch/powerpc/pci/vgafb_pci.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/powerpc/pci/vgafb_pci.c b/sys/arch/powerpc/pci/vgafb_pci.c
index 8787289a360..8fc7dd82ebd 100644
--- a/sys/arch/powerpc/pci/vgafb_pci.c
+++ b/sys/arch/powerpc/pci/vgafb_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vgafb_pci.c,v 1.1 2000/09/06 02:12:15 rahnds Exp $ */
+/* $OpenBSD: vgafb_pci.c,v 1.2 2000/11/21 02:03:44 deraadt Exp $ */
/* $NetBSD: vga_pci.c,v 1.4 1996/12/05 01:39:38 cgd Exp $ */
/*
@@ -232,6 +232,9 @@ vgafb_pci_match(parent, match, aux)
if (PCI_CLASS(pa->pa_class) == PCI_CLASS_DISPLAY &&
PCI_SUBCLASS(pa->pa_class) == PCI_SUBCLASS_DISPLAY_VGA)
potential = 1;
+ if (PCI_CLASS(pa->pa_class) == PCI_CLASS_DISPLAY &&
+ PCI_SUBCLASS(pa->pa_class) == PCI_SUBCLASS_DISPLAY_MISC)
+ potential = 1;
if (!potential)
return (0);