nvme_drv: only set the first INTMS bit on reset

Since we only set the first INTMC bit a check in QEMU will fail
and we don't get interrupts.

Fixes #3369.
This commit is contained in:
Josef Söntgen 2019-05-31 17:33:54 +02:00 committed by Christian Helmuth
parent a2abc13425
commit 737e9580b8
1 changed files with 1 additions and 1 deletions

View File

@ -702,7 +702,7 @@ struct Nvme::Controller : public Genode::Attached_mmio
void _reset()
{
/* disable intr and ctrlr */
write<Intms>(~0u);
write<Intms>(1);
write<Cc>(0);
try { _wait_for_rdy(0); }