diff --git a/src/dev/pcidev.cc b/src/dev/pcidev.cc index e1dd7e553..56b8cd3c8 100644 --- a/src/dev/pcidev.cc +++ b/src/dev/pcidev.cc @@ -216,8 +216,10 @@ PciDev::writeConfig(PacketPtr pkt) switch (offset) { case PCI0_INTERRUPT_LINE: config.interruptLine = pkt->get(); + break; case PCI_CACHE_LINE_SIZE: config.cacheLineSize = pkt->get(); + break; case PCI_LATENCY_TIMER: config.latencyTimer = pkt->get(); break; @@ -240,8 +242,10 @@ PciDev::writeConfig(PacketPtr pkt) switch (offset) { case PCI_COMMAND: config.command = pkt->get(); + break; case PCI_STATUS: config.status = pkt->get(); + break; case PCI_CACHE_LINE_SIZE: config.cacheLineSize = pkt->get(); break;