diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-06-25 18:31:21 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-06-25 18:31:21 +0000 |
commit | 399bf6bec92db4d144bb684d7c4f8174e019cb5c (patch) | |
tree | e71af65be0b2bea973f2b855303add19baaaf288 /hw/slavio_serial.c | |
parent | ebbd0ffddd67e70180235561b150aa02897992b1 (diff) |
Reset correct channel aka NetBSD boot fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4790 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/slavio_serial.c')
-rw-r--r-- | hw/slavio_serial.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/slavio_serial.c b/hw/slavio_serial.c index 1ef3c119e5..97891cc529 100644 --- a/hw/slavio_serial.c +++ b/hw/slavio_serial.c @@ -529,10 +529,10 @@ static void slavio_serial_mem_writeb(void *opaque, target_phys_addr_t addr, default: break; case MINTR_RST_B: - slavio_serial_reset_chn(&serial->chn[1]); + slavio_serial_reset_chn(&serial->chn[0]); return; case MINTR_RST_A: - slavio_serial_reset_chn(&serial->chn[0]); + slavio_serial_reset_chn(&serial->chn[1]); return; case MINTR_RST_ALL: slavio_serial_reset(serial); |