Re: [OLPC] Fix the VIP resource BAR in the PCI spoofing

2008-03-12 Thread Andres Salomon
On Wed, 12 Mar 2008 11:47:48 -0600
Jordan Crouse <[EMAIL PROTECTED]> wrote:

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

Thanks, committed.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


[OLPC] Fix the VIP resource BAR in the PCI spoofing

2008-03-12 Thread Jordan Crouse
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 */
   0xff88 , 0xc000 , 0xc000 , 0xc000 ,
- 0x0 ,0x0 ,0x0 ,0x0 ,
+  0xc000 ,0x0 ,0x0 ,0x0 ,
 
   0x20811022 ,  0x223 ,  0x300 ,0x0 , /* AMD Vendor ID */
   0xfd00 , 0xfe00 , 0xfe004000 , 0xfe008000 , /* FB, GP, VG, DF */
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel