[SeaBIOS] [PATCH 10/20] vgabios: Fix typo in release_font_access() - inb instead of inw.

Kevin O'Connor kevin at koconnor.net
Sun Jan 1 18:22:21 CET 2012


Signed-off-by: Kevin O'Connor <kevin at koconnor.net>
---
 vgasrc/stdvga.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/vgasrc/stdvga.c b/vgasrc/stdvga.c
index 9b91559..8622d0c 100644
--- a/vgasrc/stdvga.c
+++ b/vgasrc/stdvga.c
@@ -313,7 +313,7 @@ release_font_access(void)
     outw(0x0302, VGAREG_SEQU_ADDRESS);
     outw(0x0304, VGAREG_SEQU_ADDRESS);
     outw(0x0300, VGAREG_SEQU_ADDRESS);
-    u16 v = (inw(VGAREG_READ_MISC_OUTPUT) & 0x01) ? 0x0e : 0x0a;
+    u16 v = (inb(VGAREG_READ_MISC_OUTPUT) & 0x01) ? 0x0e : 0x0a;
     outw((v << 8) | 0x06, VGAREG_GRDC_ADDRESS);
     outw(0x0004, VGAREG_GRDC_ADDRESS);
     outw(0x1005, VGAREG_GRDC_ADDRESS);
-- 
1.7.6.4




More information about the SeaBIOS mailing list