提交 399bf6be 编写于 作者: B blueswir1

Reset correct channel aka NetBSD boot fix

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4790 c046a42c-6fe2-441c-8c8c-71466251a162
上级 ebbd0ffd
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册