diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-06-12 00:54:39 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-06-12 00:54:39 +0000 |
commit | 7af4eaaee579e9a90705595fae4b81eac61bc4e9 (patch) | |
tree | c84e13157749aeddc035f826f2463714ad3c6490 /sys/dev | |
parent | 0f7daa71ec05e70d1e7c2a2922b8f5af1f0fb1ca (diff) |
Bump max BARs up to 6. Needed for nouveau.
ok marco@.
Diffstat (limited to 'sys/dev')
-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 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; |