summaryrefslogtreecommitdiff
path: root/dev/pcidev.cc
diff options
context:
space:
mode:
authorLisa Hsu <hsul@eecs.umich.edu>2004-03-22 13:21:18 -0500
committerLisa Hsu <hsul@eecs.umich.edu>2004-03-22 13:21:18 -0500
commitddeaa4d5e158522f6106fa0afd1dcd52c1da1f21 (patch)
tree8c695a46ce8077f43e3d8d6631a75caea7036d70 /dev/pcidev.cc
parent25a07e746759b04223c71ea32530a2cc90be4bc3 (diff)
parent3bc851b7dbe529dc1e45c9ab9082b941fad9465c (diff)
downloadgem5-ddeaa4d5e158522f6106fa0afd1dcd52c1da1f21.tar.xz
Merge zizzer:/bk/linux into zower.eecs.umich.edu:/z/hsul/work/bk/linux
--HG-- extra : convert_revision : b4e2fc55ec9cd0caa7cdf02de8a61c66e8b35c67
Diffstat (limited to 'dev/pcidev.cc')
-rw-r--r--dev/pcidev.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/dev/pcidev.cc b/dev/pcidev.cc
index 0e0b7f840..2b2f54fce 100644
--- a/dev/pcidev.cc
+++ b/dev/pcidev.cc
@@ -53,8 +53,8 @@ using namespace std;
PciDev::PciDev(const string &name, MemoryController *mmu, PciConfigAll *cf,
PciConfigData *cd, uint32_t bus, uint32_t dev, uint32_t func)
- : FunctionalMemory(name), MMU(mmu), ConfigSpace(cf), ConfigData(cd),
- Bus(bus), Device(dev), Function(func)
+ : FunctionalMemory(name), MMU(mmu), configSpace(cf), configData(cd),
+ bus(bus), device(dev), function(func)
{
// copy the config data from the PciConfigData object
if (cd) {
@@ -79,21 +79,21 @@ PciDev::ReadConfig(int offset, int size, uint8_t *data)
memcpy((uint32_t*)data, config.data + offset, sizeof(uint32_t));
DPRINTF(PCIDEV,
"read device: %#x function: %#x register: %#x data: %#x\n",
- Device, Function, offset, *(uint32_t*)(config.data + offset));
+ device, function, offset, *(uint32_t*)(config.data + offset));
break;
case sizeof(uint16_t):
memcpy((uint16_t*)data, config.data + offset, sizeof(uint16_t));
DPRINTF(PCIDEV,
"read device: %#x function: %#x register: %#x data: %#x\n",
- Device, Function, offset, *(uint16_t*)(config.data + offset));
+ device, function, offset, *(uint16_t*)(config.data + offset));
break;
case sizeof(uint8_t):
memcpy((uint8_t*)data, config.data + offset, sizeof(uint8_t));
DPRINTF(PCIDEV,
"read device: %#x function: %#x register: %#x data: %#x\n",
- Device, Function, offset, (uint16_t)(*(uint8_t*)(config.data + offset)));
+ device, function, offset, (uint16_t)(*(uint8_t*)(config.data + offset)));
break;
default:
@@ -115,7 +115,7 @@ PciDev::WriteConfig(int offset, int size, uint32_t data)
DPRINTF(PCIDEV,
"write device: %#x function: %#x reg: %#x size: %#x data: %#x\n",
- Device, Function, offset, size, word_value);
+ device, function, offset, size, word_value);
barnum = (offset - PCI0_BASE_ADDR0) >> 2;