Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268810
b: refs/heads/master
c: 3261f2a
h: refs/heads/master
v: v3
  • Loading branch information
Aaro Koskinen authored and Greg Kroah-Hartman committed Oct 12, 2011
1 parent 4a4e435 commit acadbdb
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 15 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: 624554dae32ac1e0a2a2117224c778cf238ee233
refs/heads/master: 3261f2a1716993c5d88ab767d36a14bbc30d3717
11 changes: 0 additions & 11 deletions trunk/drivers/staging/xgifb/XGI_main_26.c
Original file line number Diff line number Diff line change
Expand Up @@ -2204,17 +2204,6 @@ static int __devinit xgifb_probe(struct pci_dev *pdev,
if (xgifb_info->hasVB != HASVB_NONE)
XGIfb_detect_VB(xgifb_info);

if (xgifb_info->disp_state & DISPTYPE_DISP2) {
if (XGIfb_crt1off)
xgifb_info->disp_state |= DISPMODE_SINGLE;
else
xgifb_info->disp_state |= (DISPMODE_MIRROR |
DISPTYPE_CRT1);
} else {
xgifb_info->disp_state = DISPMODE_SINGLE |
DISPTYPE_CRT1;
}

if (xgifb_info->disp_state & DISPTYPE_LCD) {
if (!enable_dstn) {
reg = xgifb_reg_get(XGICR, IND_XGI_LCD_PANEL);
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/staging/xgifb/XGIfb.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,10 @@
#include "vb_struct.h"
#include "vgatypes.h"

#define DISPTYPE_CRT1 0x00000008L
#define DISPTYPE_CRT2 0x00000004L
#define DISPTYPE_LCD 0x00000002L
#define DISPTYPE_TV 0x00000001L
#define DISPTYPE_DISP2 (DISPTYPE_CRT2 | DISPTYPE_LCD | DISPTYPE_TV)
#define DISPMODE_SINGLE 0x00000020L
#define DISPMODE_MIRROR 0x00000010L

#define HASVB_NONE 0x00
#define HASVB_301 0x01
Expand Down

0 comments on commit acadbdb

Please sign in to comment.