Subject: Re: Debugging XF 4.1 on Cube
To: Charles M. Hannum <abuse@spamalicious.com>
From: Charles M. Hannum <abuse@spamalicious.com>
List: port-macppc
Date: 10/05/2001 03:22:32
--=-0ImZpKe4qfLyIPHoRAiZ
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

A slightly more complete patch...


--=-0ImZpKe4qfLyIPHoRAiZ
Content-Type: text/plain
Content-Disposition: attachment; filename=radeon-diff
Content-ID: <1002252149.576.17.camel@trinity.ihack.net>
Content-Transfer-Encoding: 7bit

Index: radeon_driver.c
===================================================================
RCS file: /cvsroot/xsrc/xfree/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c,v
retrieving revision 1.1.1.3
diff -c -2 -r1.1.1.3 radeon_driver.c
*** radeon_driver.c	2001/06/09 15:05:55	1.1.1.3
--- radeon_driver.c	2001/10/05 03:10:58
***************
*** 633,636 ****
--- 633,638 ----
      if (info->VBIOS[0] != 0x55 || info->VBIOS[1] != 0xaa) {
  	info->BIOSAddr = 0x00000000;
+ 	xfree(info->VBIOS);
+ 	info->VBIOS = NULL;
  	xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
  		   "Video BIOS not found!\n");
***************
*** 639,643 ****
  #ifdef ENABLE_FLAT_PANEL
      /* Note: Radeon flat panel support has been disabled for now */
!     if (info->HasPanelRegs) {
  	info->FPBIOSstart = 0;
  
--- 641,645 ----
  #ifdef ENABLE_FLAT_PANEL
      /* Note: Radeon flat panel support has been disabled for now */
!     if (info->VBIOS && info->HasPanelRegs) {
  	info->FPBIOSstart = 0;
  

--=-0ImZpKe4qfLyIPHoRAiZ--