Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337806
b: refs/heads/master
c: 38c0965
h: refs/heads/master
v: v3
  • Loading branch information
Aaro Koskinen authored and Greg Kroah-Hartman committed Nov 13, 2012
1 parent 402c6fa commit 00e2f1d
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 14 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: c705ea816585867d70903d9dbe3ecf64e368505a
refs/heads/master: 38c09652a0620095b545d91c5806544e99f5effc
1 change: 0 additions & 1 deletion trunk/drivers/staging/xgifb/vb_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@
#define XGI330_SR1F 0
#define XGI330_SR23 0xf6
#define XGI330_SR24 0x0d
#define XGI330_SR25 0
#define XGI330_SR31 0xc0
#define XGI330_SR32 0x11
#define XGI330_SR33 0
Expand Down
9 changes: 3 additions & 6 deletions trunk/drivers/staging/xgifb/vb_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1401,7 +1401,7 @@ unsigned char XGIInitNew(struct pci_dev *pdev)
/* Set PCI */
xgifb_reg_set(pVBInfo->P3c4, 0x23, XGI330_SR23);
xgifb_reg_set(pVBInfo->P3c4, 0x24, XGI330_SR24);
xgifb_reg_set(pVBInfo->P3c4, 0x25, XGI330_SR25);
xgifb_reg_set(pVBInfo->P3c4, 0x25, 0);

if (HwDeviceExtension->jChipType < XG20) {
/* Set VB */
Expand Down Expand Up @@ -1482,11 +1482,8 @@ unsigned char XGIInitNew(struct pci_dev *pdev)

XGINew_SetDRAMSize_340(xgifb_info, HwDeviceExtension, pVBInfo);

xgifb_reg_set(pVBInfo->P3c4,
0x22,
(unsigned char) ((pVBInfo->SR22) & 0xFE));

xgifb_reg_set(pVBInfo->P3c4, 0x21, pVBInfo->SR21);
xgifb_reg_set(pVBInfo->P3c4, 0x22, 0xfa);
xgifb_reg_set(pVBInfo->P3c4, 0x21, 0xa3);

XGINew_ChkSenseStatus(HwDeviceExtension, pVBInfo);
XGINew_SetModeScratch(HwDeviceExtension, pVBInfo);
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/staging/xgifb/vb_setmode.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ void InitTo330Pointer(unsigned char ChipType, struct vb_device_info *pVBInfo)
pVBInfo->AGPReg = XGI340_AGPReg;
pVBInfo->SR16 = XGI340_SR16;

pVBInfo->SR21 = 0xa3;
pVBInfo->SR22 = 0xfb;

/* 310 customization related */
if ((pVBInfo->VBType & VB_SIS301LV) || (pVBInfo->VBType & VB_SIS302LV))
pVBInfo->LCDCapList = XGI_LCDDLCapList;
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/staging/xgifb/vb_struct.h
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,6 @@ struct vb_device_info {

unsigned char *AGPReg;
unsigned char *SR16;
unsigned char SR21;
unsigned char SR22;
unsigned char SR25;
struct SiS_MCLKData *MCLKData;

unsigned char *pXGINew_DRAMTypeDefinition;
Expand Down

0 comments on commit 00e2f1d

Please sign in to comment.