Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205688
b: refs/heads/master
c: cc75bb0
h: refs/heads/master
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Jun 22, 2010
1 parent e248111 commit 75f73eb
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f2f58e14efe5d1de1003a05fbdb82a66fc22dfb8
refs/heads/master: cc75bb02db530748515f0bf95039c4a15b3ef0be
4 changes: 0 additions & 4 deletions trunk/drivers/staging/xgifb/osdef.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#ifndef _OSDEF_H_
#define _OSDEF_H_

#define XGI_SetMemory(MemoryAddress,MemorySize,value) memset(MemoryAddress, value, MemorySize)

#define XGI_MemoryCopy(Destination,Soruce,Length) memcpy(Destination,Soruce,Length)

/**********************************************************************/

#ifdef OutPortByte
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/staging/xgifb/vb_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,6 @@ if ( !HwDeviceExtension->bIntegratedMMEnabled )
}
printk("4");

// XGI_MemoryCopy( VBIOSVersion , HwDeviceExtension->szVBIOSVer , 4 ) ;

// VBIOSVersion[ 4 ] = 0x0 ;

/* 09/07/99 modify by domao */
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/staging/xgifb/vb_setmode.c
Original file line number Diff line number Diff line change
Expand Up @@ -2609,7 +2609,7 @@ void XGI_ClearBuffer( PXGI_HW_DEVICE_INFO HwDeviceExtension , USHORT ModeNo, PVB
{
AdapterMemorySize = 0x40000 ; /* clear 256k */
/* GetDRAMSize( HwDeviceExtension ) ; */
XGI_SetMemory( VideoMemoryAddress , AdapterMemorySize , 0 ) ;
memset(VideoMemoryAddress, 0, AdapterMemorySize);
}
else
{
Expand All @@ -2631,7 +2631,7 @@ void XGI_ClearBuffer( PXGI_HW_DEVICE_INFO HwDeviceExtension , USHORT ModeNo, PVB
*/
}
else
XGI_SetMemory( VideoMemoryAddress , 0x8000 , 0 ) ;
memset(VideoMemoryAddress , 0, 0x8000);
}
}

Expand Down

0 comments on commit 75f73eb

Please sign in to comment.