Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268109
b: refs/heads/master
c: 800d67c
h: refs/heads/master
i:
  268107: 9d2ca62
v: v3
  • Loading branch information
Aaro Koskinen authored and Greg Kroah-Hartman committed Sep 6, 2011
1 parent ab8a9ca commit 8d2d453
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 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: c071906146f51bbb90e4cb649398452212d67d57
refs/heads/master: 800d67cf9f77b2994521794f980fac798a1c13d8
5 changes: 0 additions & 5 deletions trunk/drivers/staging/xgifb/vb_setmode.c
Original file line number Diff line number Diff line change
Expand Up @@ -5688,10 +5688,6 @@ static void XGI_SetTap4Regs(struct vb_device_info *pVBInfo)
if (!(pVBInfo->VBType & VB_XGI301C))
return;

#ifndef Tap4
xgifb_reg_and(pVBInfo->Part2Port, 0x4E, 0xEB); /* Disable Tap4 */
#else /* Tap4 Setting */

Tap4TimingPtr = XGI_GetTap4Ptr(0, pVBInfo); /* Set Horizontal Scaling */
for (i = 0x80, j = 0; i <= 0xBF; i++, j++)
xgifb_reg_set(pVBInfo->Part2Port, i, Tap4TimingPtr->Reg[j]);
Expand All @@ -5713,7 +5709,6 @@ static void XGI_SetTap4Regs(struct vb_device_info *pVBInfo)
else
/* Enable H.Scaling */
xgifb_reg_and_or(pVBInfo->Part2Port, 0x4E, ~0x14, 0x10);
#endif
}

static void XGI_SetGroup3(unsigned short ModeNo, unsigned short ModeIdIndex,
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/staging/xgifb/vb_table.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#define Tap4

/* yilin modify for xgi20 */
static struct XGI_MCLKDataStruct XGI340New_MCLKData[] = {
{0x16, 0x01, 0x01, 166},
Expand Down

0 comments on commit 8d2d453

Please sign in to comment.