Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236356
b: refs/heads/master
c: 3259bb5
h: refs/heads/master
v: v3
  • Loading branch information
Aaro Koskinen authored and Greg Kroah-Hartman committed Mar 10, 2011
1 parent 6e936d5 commit dc0d057
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 368 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: 83a8c24162c2abe158cb6eec4b29a8d8bf0c736c
refs/heads/master: 3259bb5a1384c58935f8d95f1dbbab7f51b17e25
47 changes: 0 additions & 47 deletions trunk/drivers/staging/xgifb/XGI_main.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@ MODULE_DEVICE_TABLE(pci, xgifb_pci_table);

#define MAX_ROM_SCAN 0x10000

#define OH_ALLOC_SIZE 4000
#define SENTINEL 0x7fffffff

#define SEQ_ADR 0x14
#define SEQ_DATA 0x15
#define DAC_ADR 0x18
Expand Down Expand Up @@ -315,7 +312,6 @@ static int XGIfb_userom = 0;
/* global flags */
static int XGIfb_registered;
static int XGIfb_tvmode = 0;
static int XGIfb_mem = 0;
static int XGIfb_pdc = 0;
static int enable_dstn = 0;
static int XGIfb_ypan = -1;
Expand Down Expand Up @@ -538,31 +534,6 @@ static const struct _chswtable {
{ 0, 0, "" , "" }
};

typedef struct _XGI_OH {
struct _XGI_OH *poh_next;
struct _XGI_OH *poh_prev;
unsigned long offset;
unsigned long size;
} XGI_OH;

typedef struct _XGI_OHALLOC {
struct _XGI_OHALLOC *poha_next;
XGI_OH aoh[1];
} XGI_OHALLOC;

typedef struct _XGI_HEAP {
XGI_OH oh_free;
XGI_OH oh_used;
XGI_OH *poh_freelist;
XGI_OHALLOC *poha_chain;
unsigned long max_freesize;
} XGI_HEAP;

static unsigned long XGIfb_heap_start;
static unsigned long XGIfb_heap_end;
static unsigned long XGIfb_heap_size;
static XGI_HEAP XGIfb_heap;

// Eden Chen
static const struct _XGI_TV_filter {
u8 filter[9][4];
Expand Down Expand Up @@ -766,15 +737,6 @@ static int XGIfb_do_set_var(struct fb_var_screeninfo *var, int isactive,
static void XGIfb_pre_setmode(void);
static void XGIfb_post_setmode(void);

struct XGI_memreq {
unsigned long offset;
unsigned long size;
};

/* XGI-specific Export functions */
void XGI_malloc(struct XGI_memreq *req);
void XGI_free(unsigned long base);

/* Internal hardware access routines */
void XGIfb_set_reg4(u16 port, unsigned long data);
u32 XGIfb_get_reg3(u16 port);
Expand All @@ -788,15 +750,6 @@ static void XGIfb_get_VB_type(void);
static int XGIfb_has_VB(void);


/* Internal heap routines */
static int XGIfb_heap_init(void);
static XGI_OH *XGIfb_poh_new_node(void);
static XGI_OH *XGIfb_poh_allocate(unsigned long size);
static void XGIfb_delete_node(XGI_OH *poh);
static void XGIfb_insert_node(XGI_OH *pohList, XGI_OH *poh);
static XGI_OH *XGIfb_poh_free(unsigned long base);
static void XGIfb_free_node(XGI_OH *poh);

/* Internal routines to access PCI configuration space */
unsigned char XGIfb_query_VGA_config_space(struct xgi_hw_device_info *pXGIhw_ext,
unsigned long offset,
Expand Down
Loading

0 comments on commit dc0d057

Please sign in to comment.