diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-03 14:05:42 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-03 14:05:42 +0000 |
commit | af655b6d827d7e56b945032adbb6359cfe58dbad (patch) | |
tree | 77ba24fd864f467a4098448b2fcd5458a27f7bac | |
parent | 38121543c7e614fed740c5d902e7ea986ddb2fb8 (diff) |
Fix Malta tty2 UART registers.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2590 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | hw/mips_malta.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/hw/mips_malta.c b/hw/mips_malta.c index 0ba3359ef4..2f3288bd7f 100644 --- a/hw/mips_malta.c +++ b/hw/mips_malta.c @@ -244,14 +244,14 @@ static uint32_t malta_fpga_readl(void *opaque, target_phys_addr_t addr) /* UART Registers */ case 0x00900: - case 0x00904: case 0x00908: - case 0x0090c: case 0x00910: - case 0x00914: case 0x00918: - case 0x0091c: - val = serial_mm_readl(s->uart, addr); + case 0x00920: + case 0x00928: + case 0x00930: + case 0x00938: + val = serial_mm_readb(s->uart, addr); break; /* GPOUT Register */ @@ -356,14 +356,14 @@ static void malta_fpga_writel(void *opaque, target_phys_addr_t addr, /* UART Registers */ case 0x00900: - case 0x00904: case 0x00908: - case 0x0090c: case 0x00910: - case 0x00914: case 0x00918: - case 0x0091c: - serial_mm_writel(s->uart, addr, val); + case 0x00920: + case 0x00928: + case 0x00930: + case 0x00938: + serial_mm_writeb(s->uart, addr, val); break; /* GPOUT Register */ |