diff options
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/matrox/matroxfb_misc.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/video/matrox/matroxfb_misc.c b/drivers/video/matrox/matroxfb_misc.c index d9d3e9f6c08e..455a46ce840c 100644 --- a/drivers/video/matrox/matroxfb_misc.c +++ b/drivers/video/matrox/matroxfb_misc.c | |||
@@ -192,11 +192,8 @@ int matroxfb_vgaHWinit(WPMINFO struct my_timming* m) { | |||
192 | unsigned int wd; | 192 | unsigned int wd; |
193 | unsigned int divider; | 193 | unsigned int divider; |
194 | int i; | 194 | int i; |
195 | int fwidth; | ||
196 | struct matrox_hw_state * const hw = &ACCESS_FBINFO(hw); | 195 | struct matrox_hw_state * const hw = &ACCESS_FBINFO(hw); |
197 | 196 | ||
198 | fwidth = 8; | ||
199 | |||
200 | DBG(__FUNCTION__) | 197 | DBG(__FUNCTION__) |
201 | 198 | ||
202 | hw->SEQ[0] = 0x00; | 199 | hw->SEQ[0] = 0x00; |
@@ -235,10 +232,7 @@ int matroxfb_vgaHWinit(WPMINFO struct my_timming* m) { | |||
235 | hw->ATTR[16] = 0x41; | 232 | hw->ATTR[16] = 0x41; |
236 | hw->ATTR[17] = 0xFF; | 233 | hw->ATTR[17] = 0xFF; |
237 | hw->ATTR[18] = 0x0F; | 234 | hw->ATTR[18] = 0x0F; |
238 | if (fwidth == 9) | 235 | hw->ATTR[19] = 0x00; |
239 | hw->ATTR[19] = 0x08; | ||
240 | else | ||
241 | hw->ATTR[19] = 0x00; | ||
242 | hw->ATTR[20] = 0x00; | 236 | hw->ATTR[20] = 0x00; |
243 | 237 | ||
244 | hd = m->HDisplay >> 3; | 238 | hd = m->HDisplay >> 3; |