diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-07-20 15:21:50 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-07-20 15:21:50 +0000 |
commit | 3c924ac06c0469ca1d2cb69223b0c12365582ac5 (patch) | |
tree | 45a031de4780548c0a073b831216da1bb17dacdc /hw/pcnet.c | |
parent | 7f626233a07ad47ccc1e9247356af0eaafda7ee8 (diff) |
Fix wrong function names in debug messages (Stefan Weil)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4909 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pcnet.c')
-rw-r--r-- | hw/pcnet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/pcnet.c b/hw/pcnet.c index fe7864fc18..bca4c9ae9c 100644 --- a/hw/pcnet.c +++ b/hw/pcnet.c @@ -1939,7 +1939,7 @@ static void pcnet_mmio_map(PCIDevice *pci_dev, int region_num, PCNetState *d = (PCNetState *)pci_dev; #ifdef PCNET_DEBUG_IO - printf("pcnet_ioport_map addr=0x%08x 0x%08x\n", addr, size); + printf("pcnet_mmio_map addr=0x%08x 0x%08x\n", addr, size); #endif cpu_register_physical_memory(addr, PCNET_PNPMMIO_SIZE, d->mmio_index); @@ -2034,7 +2034,7 @@ static uint32_t lance_mem_readw(void *opaque, target_phys_addr_t addr) val = pcnet_ioport_readw(opaque, addr & 7); #ifdef PCNET_DEBUG_IO - printf("pcnet_mmio_readw addr=" TARGET_FMT_plx " val = 0x%04x\n", addr, + printf("lance_mem_readw addr=" TARGET_FMT_plx " val = 0x%04x\n", addr, val & 0xffff); #endif |