Minor little problem that was breaking the libpciaccess
hotness in the upstream X driver.  This makes it all better.

Jordan

-- 
Jordan Crouse
Systems Software Development Engineer 
Advanced Micro Devices, Inc.
[OLPC] Fix the VIP resource BAR in the PCI spoofing

From: Jordan Crouse <[EMAIL PROTECTED]>

We need to provide a size for the VIP BAR (BAR04) in the
video header so that it will be correctly sized by the
kernel and appear in the resources.  This fixes the X driver
running with libpciaccess.

Signed-off-by: Jordan Crouse <[EMAIL PROTECTED]>
---

 arch/i386/pci/olpc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/i386/pci/olpc.c b/arch/i386/pci/olpc.c
index 1518d25..ef3d0eb 100644
--- a/arch/i386/pci/olpc.c
+++ b/arch/i386/pci/olpc.c
@@ -65,7 +65,7 @@ static const u32 gxnb_hdr[] = {  /* dev 1 function 0 - devfn = 8 */
 
 static const u32 lxfb_hdr[] = {  /* dev 1 function 1 - devfn = 9 */
   0xff800008 , 0xffffc000 , 0xffffc000 , 0xffffc000 ,
-         0x0 ,        0x0 ,        0x0 ,        0x0 ,
+  0xffffc000 ,        0x0 ,        0x0 ,        0x0 ,
 
   0x20811022 ,  0x2200003 ,  0x3000000 ,        0x0 , /* AMD Vendor ID */
   0xfd000000 , 0xfe000000 , 0xfe004000 , 0xfe008000 , /* FB, GP, VG, DF */
_______________________________________________
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel

Reply via email to