mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-25 01:49:58 +00:00
Use VESA driver underneath
This commit is contained in:
parent
77331f9670
commit
3805965684
5 changed files with 61 additions and 8 deletions
|
|
@ -25,7 +25,11 @@
|
|||
|
||||
#ifndef _TRIDENT_H_
|
||||
#define _TRIDENT_H_
|
||||
#ifdef VESA
|
||||
#include <vesa.h>
|
||||
#else
|
||||
#include <fbdev.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* offset from ioport beginning
|
||||
|
|
@ -146,7 +150,12 @@ typedef struct _tridentSave {
|
|||
} TridentSave;
|
||||
|
||||
typedef struct _tridentCardInfo {
|
||||
#ifdef VESA
|
||||
VesaPrivRec vesa;
|
||||
#else
|
||||
FbdevPriv fb;
|
||||
#endif
|
||||
CARD8 *screen;
|
||||
CARD8 *cop_base;
|
||||
Cop *cop;
|
||||
CARD32 cop_depth;
|
||||
|
|
|
|||
Loading…
Reference in a new issue