summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/pci
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2007-11-03 10:09:04 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2007-11-03 10:09:04 +0000
commit1ac724e5e11cf77297acd8d11373b5c0a09bb353 (patch)
tree57a31f7d3dcd1a68f0bb5e9ee70e809beaf221b0 /sys/arch/alpha/pci
parentb80530fe36ff8aa2cfe7cd2f5eb8827c0308af85 (diff)
use DEVICE_IS_VGA_PCI in vga_pci_match()
ok brad@ fgsch@ also tested by oga@
Diffstat (limited to 'sys/arch/alpha/pci')
-rw-r--r--sys/arch/alpha/pci/pci_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/alpha/pci/pci_machdep.c b/sys/arch/alpha/pci/pci_machdep.c
index 1ee73b71cab..60d316dd931 100644
--- a/sys/arch/alpha/pci/pci_machdep.c
+++ b/sys/arch/alpha/pci/pci_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_machdep.c,v 1.16 2002/03/14 01:26:27 millert Exp $ */
+/* $OpenBSD: pci_machdep.c,v 1.17 2007/11/03 10:09:03 martin Exp $ */
/* $NetBSD: pci_machdep.c,v 1.7 1996/11/19 04:57:32 cgd Exp $ */
/*
@@ -85,7 +85,7 @@ pci_display_console(iot, memt, pc, bus, device, function)
fn = NULL;
#if NVGA_PCI
- nmatch = DEVICE_IS_VGA_PCI(class, id);
+ nmatch = DEVICE_IS_VGA_PCI(class);
if (nmatch > match) {
match = nmatch;
fn = vga_pci_cnattach;