diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-03-28 01:03:32 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-03-28 01:05:11 +0100 |
commit | 32be3a889794a212a5a4083de279134c22c314a3 (patch) | |
tree | 99e1811a234fccc01d770556aabb03086b1b305a /i386 | |
parent | ef1e38353b835ee1d5c0ff400f82cfc7b74c7649 (diff) |
Assume EGA/VGA card
CGA and MONO cards are more than hard to find nowadays, and some buggy BIOSes
claim running them nowadays...
* i386/i386at/kd.c (kd_xga_init): Do not handle CGA and MONO cases any
more, which thus default to EGA/VGA.
Diffstat (limited to 'i386')
-rw-r--r-- | i386/i386at/kd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c index 2bb0a69..acd69f7 100644 --- a/i386/i386at/kd.c +++ b/i386/i386at/kd.c @@ -2540,6 +2540,8 @@ kd_xga_init(void) addr[i] = 0x00; } break; +#if 0 + /* XXX: some buggy BIOSes report these... */ case CM_CGA_40: vid_start = (u_char *)phystokv(CGA_START); kd_index_reg = CGA_IDX_REG; @@ -2561,6 +2563,7 @@ kd_xga_init(void) kd_lines = 25; kd_cols = 80; break; +#endif } outb(kd_index_reg, C_START); |