diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2010-06-17 13:10:37 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-06-22 14:20:37 -0700 |
commit | 784cfe1d07259ba7faaa4f64a8d59c56d7a55641 (patch) | |
tree | 819cbebb77ad5f091238b1fc1ca31dbac1b317ff /drivers/staging/xgifb/osdef.h | |
parent | af49a7c9ec9adab8da132e616471837663db5db1 (diff) | |
download | kernel_samsung_crespo-784cfe1d07259ba7faaa4f64a8d59c56d7a55641.zip kernel_samsung_crespo-784cfe1d07259ba7faaa4f64a8d59c56d7a55641.tar.gz kernel_samsung_crespo-784cfe1d07259ba7faaa4f64a8d59c56d7a55641.tar.bz2 |
Staging: xgifb: Remove use of TC define
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Arnaud Patard <apatard@mandriva.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/xgifb/osdef.h')
-rw-r--r-- | drivers/staging/xgifb/osdef.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/staging/xgifb/osdef.h b/drivers/staging/xgifb/osdef.h index 83fffe1..01a8720 100644 --- a/drivers/staging/xgifb/osdef.h +++ b/drivers/staging/xgifb/osdef.h @@ -1,7 +1,6 @@ #ifndef _OSDEF_H_ #define _OSDEF_H_ -/* #define TC */ #define LINUX_KERNEL /* #define LINUX_XF86 */ @@ -12,8 +11,6 @@ /**********************************************************************/ -#ifdef TC -#endif #ifdef LINUX_XF86 #define LINUX #endif @@ -22,9 +19,6 @@ #endif /**********************************************************************/ -#ifdef TC -#define XGI_SetMemory(MemoryAddress,MemorySize,value) memset(MemoryAddress, value, MemorySize); -#endif #ifdef LINUX_XF86 #define XGI_SetMemory(MemoryAddress,MemorySize,value) memset(MemoryAddress, value, MemorySize) #endif @@ -35,9 +29,6 @@ /**********************************************************************/ -#ifdef TC -#define XGI_MemoryCopy(Destination,Soruce,Length) memmove(Destination, Soruce, Length); -#endif #ifdef LINUX_XF86 #define XGI_MemoryCopy(Destination,Soruce,Length) memcpy(Destination,Soruce,Length) #endif @@ -75,14 +66,6 @@ /* TC */ /**********************************************************************/ -#ifdef TC -#define OutPortByte(p,v) outp((unsigned short)(p),(unsigned char)(v)) -#define OutPortWord(p,v) outp((unsigned short)(p),(unsigned short)(v)) -#define OutPortLong(p,v) outp((unsigned short)(p),(unsigned long)(v)) -#define InPortByte(p) inp((unsigned short)(p)) -#define InPortWord(p) inp((unsigned short)(p)) -#define InPortLong(p) ((inp((unsigned short)(p+2))<<16) | inp((unsigned short)(p))) -#endif /**********************************************************************/ /* LINUX XF86 */ |