Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337789
b: refs/heads/master
c: 6c27b37
h: refs/heads/master
i:
  337787: 42a6094
v: v3
  • Loading branch information
Aaro Koskinen authored and Greg Kroah-Hartman committed Nov 13, 2012
1 parent db0346e commit 3343f64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 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: 4736783cca01e22f767e402bd2ed237b527f1c6b
refs/heads/master: 6c27b37091f655815d8cfee340f0f7c16b718400
19 changes: 1 addition & 18 deletions trunk/drivers/staging/xgifb/vb_setmode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1310,30 +1310,13 @@ static void *XGI_GetLcdPtr(unsigned short BX, unsigned short ModeNo,
unsigned short RefreshRateTableIndex,
struct vb_device_info *pVBInfo)
{
unsigned short i, tempdx, tempbx, tempal, modeflag;
unsigned short i, tempdx, tempbx, modeflag;

struct XGI330_LCDDataTablStruct *tempdi = NULL;

tempbx = BX;

modeflag = pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag;
tempal = pVBInfo->RefIndex[RefreshRateTableIndex].Ext_CRT2CRTC;

tempal = tempal & 0x0f;

if (tempbx <= 1) { /* ExpLink */
tempal = pVBInfo->RefIndex[RefreshRateTableIndex].Ext_CRT2CRTC;

if (pVBInfo->VBInfo & XGI_SetCRT2ToLCDA) {
tempal = pVBInfo->RefIndex[RefreshRateTableIndex].
Ext_CRT2CRTC2;
}

if (tempbx & 0x01)
tempal = (tempal >> 4);

tempal = (tempal & 0x0f);
}

switch (tempbx) {
case 0:
Expand Down

0 comments on commit 3343f64

Please sign in to comment.