sis315_init.c 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. static const struct { grub_uint8_t reg; grub_uint8_t val; } sr_dump [] =
  2. {
  3. { 0x28, 0x81 },
  4. { 0x2a, 0x00 },
  5. { 0x29, 0xe1 },
  6. { 0x2b, 0x81 },
  7. { 0x2d, 0x00 },
  8. { 0x2c, 0xe1 },
  9. { 0x2e, 0x81 },
  10. { 0x30, 0x00 },
  11. { 0x2f, 0xe1 },
  12. { 0x28, 0x01 },
  13. { 0x29, 0x22 },
  14. { 0x28, 0x3b },
  15. { 0x29, 0x22 },
  16. { 0x2a, 0x01 },
  17. { 0x2e, 0x01 },
  18. { 0x2f, 0x22 },
  19. { 0x2e, 0x3b },
  20. { 0x2f, 0x22 },
  21. { 0x30, 0x01 },
  22. { 0x15, 0x00 },
  23. { 0x1b, 0x30 },
  24. { 0x16, 0x0f },
  25. { 0x16, 0x8f },
  26. { 0x17, 0xba },
  27. { 0x16, 0x0f },
  28. { 0x16, 0x8f },
  29. { 0x1f, 0x00 },
  30. { 0x20, 0x20 },
  31. { 0x23, 0xf6 },
  32. { 0x24, 0x0d },
  33. { 0x25, 0x33 },
  34. { 0x21, 0x84 },
  35. { 0x22, 0x00 },
  36. { 0x27, 0x1f },
  37. { 0x31, 0x00 },
  38. { 0x33, 0x00 },
  39. { 0x32, 0x11 },
  40. { 0x25, 0x33 },
  41. { 0x05, 0x86 },
  42. { 0x01, 0x20 },
  43. { 0x32, 0x11 },
  44. { 0x1e, 0x00 },
  45. { 0x1d, 0x00 },
  46. { 0x00, 0x03 },
  47. { 0x01, 0x21 },
  48. { 0x02, 0x0f },
  49. { 0x03, 0x00 },
  50. { 0x04, 0x0e },
  51. { 0x0a, 0x00 },
  52. { 0x0b, 0x00 },
  53. { 0x0c, 0x00 },
  54. { 0x0d, 0x00 },
  55. { 0x0e, 0x00 },
  56. { 0x37, 0x00 },
  57. { 0x0a, 0x00 },
  58. { 0x0b, 0x00 },
  59. { 0x0c, 0x05 },
  60. { 0x0e, 0x00 },
  61. { 0x0e, 0x00 },
  62. { 0x10, 0x0b },
  63. { 0x31, 0x00 },
  64. { 0x2b, 0x01 },
  65. { 0x2c, 0xe1 },
  66. { 0x2b, 0x1b },
  67. { 0x2c, 0xe1 },
  68. { 0x2d, 0x01 },
  69. { 0x3d, 0x00 },
  70. { 0x08, 0x84 },
  71. { 0x09, 0x00 },
  72. { 0x3d, 0x01 },
  73. { 0x1f, 0x00 },
  74. { 0x06, 0x02 },
  75. { 0x0f, 0x00 },
  76. { 0x17, 0xba },
  77. { 0x21, 0xa4 },
  78. { 0x32, 0x11 },
  79. { 0x07, 0x18 },
  80. { 0x1d, 0x00 },
  81. { 0x1d, 0x00 },
  82. { 0x1d, 0x00 },
  83. { 0x1d, 0x00 },
  84. { 0x1d, 0x00 },
  85. { 0x1d, 0x00 },
  86. { 0x1d, 0x00 },
  87. { 0x1d, 0x00 },
  88. { 0x1d, 0x00 },
  89. { 0x1d, 0x00 },
  90. { 0x1d, 0x00 },
  91. { 0x1d, 0x00 },
  92. { 0x1d, 0x00 },
  93. { 0x1d, 0x00 },
  94. { 0x1d, 0x00 },
  95. { 0x1d, 0x00 },
  96. { 0x1d, 0x00 },
  97. { 0x01, 0x01 },
  98. { 0x21, 0x84 },
  99. { 0x01, 0x21 },
  100. { 0x16, 0x8f },
  101. { 0x18, 0xa9 },
  102. { 0x19, 0xa0 },
  103. { 0x1b, 0x30 },
  104. { 0x17, 0xb8 },
  105. { 0x19, 0xa3 },
  106. { 0x13, 0x00 },
  107. { 0x14, 0x00 },
  108. { 0x14, 0x02 },
  109. { 0x15, 0x00 },
  110. { 0x16, 0x0f },
  111. { 0x16, 0x8f },
  112. { 0x1d, 0x00 },
  113. { 0x14, 0x00 },
  114. { 0x14, 0x01 },
  115. { 0x15, 0x00 },
  116. { 0x16, 0x0f },
  117. { 0x16, 0x8f },
  118. { 0x1d, 0x00 },
  119. { 0x14, 0x01 },
  120. { 0x14, 0x01 },
  121. { 0x15, 0x10 },
  122. { 0x13, 0x35 },
  123. { 0x14, 0x51 },
  124. { 0x16, 0x0f },
  125. { 0x16, 0x8f },
  126. { 0x1d, 0x00 },
  127. { 0x1d, 0x00 },
  128. { 0x1d, 0x11 },
  129. { 0x1d, 0x11 },
  130. { 0x1d, 0x00 },
  131. { 0x1d, 0x00 },
  132. { 0x1d, 0x00 },
  133. { 0x17, 0xba },
  134. { 0x19, 0xa0 },
  135. { 0x19, 0xa0 },
  136. { 0x01, 0x01 },
  137. { 0x16, 0x0f },
  138. { 0x18, 0xa9 },
  139. { 0x19, 0xa0 },
  140. { 0x1b, 0x30 },
  141. { 0x21, 0xa4 },
  142. { 0x05, 0x86 },
  143. };
  144. static const grub_uint8_t gr[] = {
  145. 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0f,
  146. 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  147. };