diff options
author | Martin Reindl <martin@cvs.openbsd.org> | 2007-11-03 10:09:04 +0000 |
---|---|---|
committer | Martin Reindl <martin@cvs.openbsd.org> | 2007-11-03 10:09:04 +0000 |
commit | 1ac724e5e11cf77297acd8d11373b5c0a09bb353 (patch) | |
tree | 57a31f7d3dcd1a68f0bb5e9ee70e809beaf221b0 /sys/dev/pci/vga_pcivar.h | |
parent | b80530fe36ff8aa2cfe7cd2f5eb8827c0308af85 (diff) |
use DEVICE_IS_VGA_PCI in vga_pci_match()
ok brad@ fgsch@ also tested by oga@
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 288fd357dc8..493bbb227b0 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.7 2006/11/27 18:04:28 gwk Exp $ */ +/* $OpenBSD: vga_pcivar.h,v 1.8 2007/11/03 10:09:03 martin Exp $ */ /* $NetBSD: vga_pcivar.h,v 1.1 1998/03/22 15:16:19 drochner Exp $ */ /* @@ -31,7 +31,7 @@ #ifndef _PCI_VGA_PCIVAR_H_ #define _PCI_VGA_PCIVAR_H_ -#define DEVICE_IS_VGA_PCI(class, id) \ +#define DEVICE_IS_VGA_PCI(class) \ (((PCI_CLASS(class) == PCI_CLASS_DISPLAY && \ PCI_SUBCLASS(class) == PCI_SUBCLASS_DISPLAY_VGA) || \ (PCI_CLASS(class) == PCI_CLASS_PREHISTORIC && \ |