aboutsummaryrefslogtreecommitdiff
path: root/vgasrc
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2011-12-31 15:52:22 -0500
committerKevin O'Connor <kevin@koconnor.net>2011-12-31 15:52:22 -0500
commit7e1d5301fd771d2b7164b2678ea9b3238d9bf959 (patch)
treea6a5d9996e7400e24a94a79298fe1e45c518bec4 /vgasrc
parent2bec7d6162135a4b061aaf577b3b34f70a38a3b9 (diff)
downloadseabios-hppa-7e1d5301fd771d2b7164b2678ea9b3238d9bf959.zip
seabios-hppa-7e1d5301fd771d2b7164b2678ea9b3238d9bf959.tar.gz
seabios-hppa-7e1d5301fd771d2b7164b2678ea9b3238d9bf959.tar.bz2
vgabios: Fix typo in release_font_access() - inb instead of inw.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'vgasrc')
-rw-r--r--vgasrc/stdvga.c2
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);