Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337807
b: refs/heads/master
c: 5ce2476
h: refs/heads/master
i:
  337805: 402c6fa
  337803: c3a10ab
  337799: c2052b8
  337791: 1b7bc67
v: v3
  • Loading branch information
Aaro Koskinen authored and Greg Kroah-Hartman committed Nov 13, 2012
1 parent 00e2f1d commit c8a2c0f
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 6 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: 38c09652a0620095b545d91c5806544e99f5effc
refs/heads/master: 5ce24760f6cab10b3138d9b2b959f2944827fa50
1 change: 1 addition & 0 deletions trunk/drivers/staging/xgifb/vb_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -263,5 +263,6 @@ extern const struct XGI_Ext2Struct XGI330_RefIndex[];
extern const struct XGI_CRT1TableStruct XGI_CRT1Table[];
extern const struct XGI_ECLKDataStruct XGI340_ECLKData[];
extern const struct SiS_VCLKData XGI_VCLKData[];
extern const unsigned char XGI340_CR6B[][4];

#endif
2 changes: 1 addition & 1 deletion trunk/drivers/staging/xgifb/vb_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ static void XGINew_SetDRAMDefaultRegister340(
temp2 = 0;
for (i = 0; i < 4; i++) {
/* CR6B DQS fine tune delay */
temp = pVBInfo->CR6B[pVBInfo->ram_type][i];
temp = XGI340_CR6B[pVBInfo->ram_type][i];
for (j = 0; j < 4; j++) {
temp1 = ((temp >> (2 * j)) & 0x03) << 2;
temp2 |= temp1;
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/xgifb/vb_setmode.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ void InitTo330Pointer(unsigned char ChipType, struct vb_device_info *pVBInfo)

pVBInfo->SR15 = XGI340_SR13;
pVBInfo->CR40 = XGI340_cr41;
pVBInfo->CR6B = XGI340_CR6B;
pVBInfo->AGPReg = XGI340_AGPReg;
pVBInfo->SR16 = XGI340_SR16;

Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/staging/xgifb/vb_struct.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,6 @@ struct vb_device_info {
void __iomem *FBAddr;
unsigned long BaseAddr;

unsigned char (*CR6B)[4];

unsigned char (*SR15)[8];
unsigned char (*CR40)[8];

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/xgifb/vb_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ static unsigned char XGI27_cr41[24][8] = {
{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} /* 23 CRC5 */
};

static unsigned char XGI340_CR6B[8][4] = {
const unsigned char XGI340_CR6B[8][4] = {
{0xaa, 0xaa, 0xaa, 0xaa},
{0xaa, 0xaa, 0xaa, 0xaa},
{0xaa, 0xaa, 0xaa, 0xaa},
Expand Down

0 comments on commit c8a2c0f

Please sign in to comment.