summaryrefslogtreecommitdiff
path: root/dev/pcidev.cc
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2004-02-09 13:40:58 -0500
committerAli Saidi <saidi@eecs.umich.edu>2004-02-09 13:40:58 -0500
commit1ded394fc398f5bbbecef84709824ac7d028dd1e (patch)
treefc521118469880d20861e2120b3ab65760e21eec /dev/pcidev.cc
parent77a30ed48daec8fa8db2aaf955eda4e2384df912 (diff)
downloadgem5-1ded394fc398f5bbbecef84709824ac7d028dd1e.tar.xz
Some changes to for linux 2.6.2
dev/pcidev.cc: Linux 2.6 writes the latency timer, so it was added to the list of allowable writes dev/tsunami_uart.cc: dev/tsunami_uart.hh: A couple of changes so that the new linux autoconf serial driver thinks that the serial port exists and configures it --HG-- extra : convert_revision : 6c026ef754e31de56c9b837ceb8f6be48c8d8d9c
Diffstat (limited to 'dev/pcidev.cc')
-rw-r--r--dev/pcidev.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/dev/pcidev.cc b/dev/pcidev.cc
index 342561750..9d9fbcd89 100644
--- a/dev/pcidev.cc
+++ b/dev/pcidev.cc
@@ -125,6 +125,7 @@ PciDev::WriteConfig(int offset, int size, uint32_t data)
switch (offset) {
case PCI0_INTERRUPT_LINE:
case PCI_CACHE_LINE_SIZE:
+ case PCI_LATENCY_TIMER:
*(uint8_t *)&config.data[offset] = byte_value;
break;