Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205689
b: refs/heads/master
c: 1e59f71
h: refs/heads/master
i:
  205687: e248111
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Jun 22, 2010
1 parent 75f73eb commit f9bcd6d
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 60 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: cc75bb02db530748515f0bf95039c4a15b3ef0be
refs/heads/master: 1e59f7119f0a998e3d453614b3d074962b84bc83
1 change: 0 additions & 1 deletion trunk/drivers/staging/xgifb/XGI_accel.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
#include <asm/mtrr.h>
#endif

#include "osdef.h"
#include "vgatypes.h"
#include "vb_struct.h"
#include "XGIfb.h"
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/staging/xgifb/XGI_main_26.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
#include <linux/types.h>
#include <linux/proc_fs.h>

#include "osdef.h"


#ifndef XGIFB_PAN
#define XGIFB_PAN
Expand Down
37 changes: 0 additions & 37 deletions trunk/drivers/staging/xgifb/osdef.h

This file was deleted.

2 changes: 0 additions & 2 deletions trunk/drivers/staging/xgifb/vb_ext.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#include "osdef.h"

#include <linux/version.h>
#include <asm/io.h>
#include <linux/types.h>
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/xgifb/vb_init.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include "osdef.h"
#include "vgatypes.h"

#include <linux/version.h>
Expand Down
4 changes: 0 additions & 4 deletions trunk/drivers/staging/xgifb/vb_setmode.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "osdef.h"




#include <asm/io.h>
#include <linux/types.h>
Expand Down
18 changes: 8 additions & 10 deletions trunk/drivers/staging/xgifb/vb_util.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include "osdef.h"
#include "vb_def.h"
#include "vgatypes.h"
#include "vb_struct.h"
Expand Down Expand Up @@ -28,8 +27,8 @@ void XGINew_SetRegAND(ULONG Port,USHORT Index,USHORT DataAND);
/* --------------------------------------------------------------------- */
void XGINew_SetReg1( ULONG port , USHORT index , USHORT data )
{
OutPortByte( port , index ) ;
OutPortByte( port + 1 , data ) ;
outb(index, port);
outb(data, port + 1);
}


Expand All @@ -56,7 +55,7 @@ void XGINew_SetReg1( ULONG port , USHORT index , USHORT data )
/* --------------------------------------------------------------------- */
void XGINew_SetReg3( ULONG port , USHORT data )
{
OutPortByte( port , data ) ;
outb(data, port);
}


Expand All @@ -68,7 +67,7 @@ void XGINew_SetReg3( ULONG port , USHORT data )
/* --------------------------------------------------------------------- */
void XGINew_SetReg4( ULONG port , ULONG data )
{
OutPortLong( port , data ) ;
outl(data, port);
}


Expand All @@ -82,9 +81,8 @@ UCHAR XGINew_GetReg1( ULONG port , USHORT index )
{
UCHAR data ;

OutPortByte( port , index ) ;
data = InPortByte( port + 1 ) ;

outb(index, port);
data = inb(port + 1) ;
return( data ) ;
}

Expand All @@ -99,7 +97,7 @@ UCHAR XGINew_GetReg2( ULONG port )
{
UCHAR data ;

data = InPortByte( port ) ;
data = inb(port) ;

return( data ) ;
}
Expand All @@ -115,7 +113,7 @@ ULONG XGINew_GetReg3( ULONG port )
{
ULONG data ;

data = InPortLong( port ) ;
data = inl(port) ;

return( data ) ;
}
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/staging/xgifb/vgatypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#ifndef _VGATYPES_
#define _VGATYPES_

#include "osdef.h"

#include <linux/ioctl.h>

#ifndef FALSE
Expand Down

0 comments on commit f9bcd6d

Please sign in to comment.