From 7af4eaaee579e9a90705595fae4b81eac61bc4e9 Mon Sep 17 00:00:00 2001 From: Owain Ainsworth Date: Thu, 12 Jun 2008 00:54:39 +0000 Subject: Bump max BARs up to 6. Needed for nouveau. ok marco@. --- sys/dev/pci/vga_pcivar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci') diff --git a/sys/dev/pci/vga_pcivar.h b/sys/dev/pci/vga_pcivar.h index 47f10b4b72c..aaeed358cdb 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.10 2008/05/06 19:19:02 oga Exp $ */ +/* $OpenBSD: vga_pcivar.h,v 1.11 2008/06/12 00:54:38 oga Exp $ */ /* $NetBSD: vga_pcivar.h,v 1.1 1998/03/22 15:16:19 drochner Exp $ */ /* @@ -37,7 +37,7 @@ (PCI_CLASS(class) == PCI_CLASS_PREHISTORIC && \ PCI_SUBCLASS(class) == PCI_SUBCLASS_PREHISTORIC_VGA)) ? 1 : 0) -#define VGA_PCI_MAX_BARS 4 +#define VGA_PCI_MAX_BARS 6 struct vga_pci_bar { int addr; -- cgit v1.2.3