#ifndef AST_TABLES_H
#define AST_TABLES_H
#include "ast_drv.h"
#define TextModeIndex 0
#define EGAModeIndex 1
#define VGAModeIndex 2
#define HiCModeIndex 3
#define TrueCModeIndex 4
static const struct ast_vbios_dclk_info dclk_table[] = {
{0x2C, 0xE7, 0x03},
{0x95, 0x62, 0x03},
{0x67, 0x63, 0x01},
{0x76, 0x63, 0x01},
{0xEE, 0x67, 0x01},
{0x82, 0x62, 0x01},
{0xC6, 0x64, 0x01},
{0x94, 0x62, 0x01},
{0x80, 0x64, 0x00},
{0x7B, 0x63, 0x00},
{0x67, 0x62, 0x00},
{0x7C, 0x62, 0x00},
{0x8E, 0x62, 0x00},
{0x85, 0x24, 0x00},
{0x67, 0x22, 0x00},
{0x6A, 0x22, 0x00},
{0x4d, 0x4c, 0x80},
{0x68, 0x6f, 0x80},
{0x28, 0x49, 0x80},
{0x37, 0x49, 0x80},
{0x1f, 0x45, 0x80},
{0x47, 0x6c, 0x80},
{0x25, 0x65, 0x80},
{0x77, 0x58, 0x80},
{0x32, 0x67, 0x80},
{0x6a, 0x6d, 0x80},
{0x3b, 0x2c, 0x81},
};
static const struct ast_vbios_dclk_info dclk_table_ast2500[] = {
{0x2C, 0xE7, 0x03},
{0x95, 0x62, 0x03},
{0x67, 0x63, 0x01},
{0x76, 0x63, 0x01},
{0xEE, 0x67, 0x01},
{0x82, 0x62, 0x01},
{0xC6, 0x64, 0x01},
{0x94, 0x62, 0x01},
{0x80, 0x64, 0x00},
{0x7B, 0x63, 0x00},
{0x67, 0x62, 0x00},
{0x7C, 0x62, 0x00},
{0x8E, 0x62, 0x00},
{0x85, 0x24, 0x00},
{0x67, 0x22, 0x00},
{0x6A, 0x22, 0x00},
{0x4d, 0x4c, 0x80},
{0x68, 0x6f, 0x80},
{0x28, 0x49, 0x80},
{0x37, 0x49, 0x80},
{0x1f, 0x45, 0x80},
{0x47, 0x6c, 0x80},
{0x25, 0x65, 0x80},
{0x58, 0x01, 0x42},
{0x32, 0x67, 0x80},
{0x6a, 0x6d, 0x80},
{0x44, 0x20, 0x43},
};
static const struct ast_vbios_stdtable vbios_stdtable[] = {
{
0x67,
{0x00,0x03,0x00,0x02},
{0x5f,0x4f,0x50,0x82,0x55,0x81,0xbf,0x1f,
0x00,0x4f,0x0d,0x0e,0x00,0x00,0x00,0x00,
0x9c,0x8e,0x8f,0x28,0x1f,0x96,0xb9,0xa3,
0xff},
{0x00,0x01,0x02,0x03,0x04,0x05,0x14,0x07,
0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,
0x0c,0x00,0x0f,0x08},
{0x00,0x00,0x00,0x00,0x00,0x10,0x0e,0x00,
0xff}
},
{
0xe3,
{0x01,0x0f,0x00,0x06},
{0x5f,0x4f,0x50,0x82,0x55,0x81,0x0b,0x3e,
0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,
0xe9,0x8b,0xdf,0x28,0x00,0xe7,0x04,0xe3,
0xff},
{0x00,0x01,0x02,0x03,0x04,0x05,0x14,0x07,
0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,
0x01,0x00,0x0f,0x00},
{0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x0f,
0xff}
},
{
0x2f,
{0x01,0x0f,0x00,0x0e},
{0x5f,0x4f,0x50,0x82,0x54,0x80,0x0b,0x3e,
0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,
0xea,0x8c,0xdf,0x28,0x40,0xe7,0x04,0xa3,
0xff},
{0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,
0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,
0x01,0x00,0x00,0x00},
{0x00,0x00,0x00,0x00,0x00,0x40,0x05,0x0f,
0xff}
},
{
0x2f,
{0x01,0x0f,0x00,0x0e},
{0x5f,0x4f,0x50,0x82,0x54,0x80,0x0b,0x3e,
0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,
0xea,0x8c,0xdf,0x28,0x40,0xe7,0x04,0xa3,
0xff},
{0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,
0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,
0x01,0x00,0x00,0x00},
{0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x0f,
0xff}
},
{
0x2f,
{0x01,0x0f,0x00,0x0e},
{0x5f,0x4f,0x50,0x82,0x54,0x80,0x0b,0x3e,
0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,
0xea,0x8c,0xdf,0x28,0x40,0xe7,0x04,0xa3,
0xff},
{0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,
0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,
0x01,0x00,0x00,0x00},
{0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x0f,
0xff}
},
};
#endif