Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288997
b: refs/heads/master
c: cae9a7b
h: refs/heads/master
i:
  288995: 23786af
v: v3
  • Loading branch information
Sam Hansen authored and Greg Kroah-Hartman committed Feb 9, 2012
1 parent facd5cb commit bf479b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions 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: 96c66042be64c08c6f0e23a107de0f04bc6c7fd1
refs/heads/master: cae9a7bef2c497d40328f7f3fe6384efcf5c13b3
10 changes: 3 additions & 7 deletions trunk/drivers/staging/xgifb/XGI_main_26.c
Original file line number Diff line number Diff line change
Expand Up @@ -2029,13 +2029,12 @@ static int __devinit xgifb_probe(struct pci_dev *pdev,
xgifb_info->hasVB = HASVB_NONE;
} else if (xgifb_info->chip == XG21) {
CR38 = xgifb_reg_get(XGICR, 0x38);
if ((CR38&0xE0) == 0xC0) {
if ((CR38&0xE0) == 0xC0)
xgifb_info->display2 = XGIFB_DISP_LCD;
} else if ((CR38&0xE0) == 0x60) {
else if ((CR38&0xE0) == 0x60)
xgifb_info->hasVB = HASVB_CHRONTEL;
} else {
else
xgifb_info->hasVB = HASVB_NONE;
}
} else {
XGIfb_get_VB_type(xgifb_info);
}
Expand Down Expand Up @@ -2139,9 +2138,6 @@ static int __devinit xgifb_probe(struct pci_dev *pdev,
if (tmp & 0x20) {
tmp = xgifb_reg_get(
XGIPART1, 0x13);
if (tmp & 0x04) {
/* XGI_Pr.XGI_UseLCDA = 1; */
}
}
}
}
Expand Down

0 comments on commit bf479b0

Please sign in to comment.