Commit 3c924ac06c0469ca1d2cb69223b0c12365582ac5
1 parent
7f626233
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
Showing
1 changed file
with
2 additions
and
2 deletions
hw/pcnet.c
... | ... | @@ -1939,7 +1939,7 @@ static void pcnet_mmio_map(PCIDevice *pci_dev, int region_num, |
1939 | 1939 | PCNetState *d = (PCNetState *)pci_dev; |
1940 | 1940 | |
1941 | 1941 | #ifdef PCNET_DEBUG_IO |
1942 | - printf("pcnet_ioport_map addr=0x%08x 0x%08x\n", addr, size); | |
1942 | + printf("pcnet_mmio_map addr=0x%08x 0x%08x\n", addr, size); | |
1943 | 1943 | #endif |
1944 | 1944 | |
1945 | 1945 | 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) |
2034 | 2034 | |
2035 | 2035 | val = pcnet_ioport_readw(opaque, addr & 7); |
2036 | 2036 | #ifdef PCNET_DEBUG_IO |
2037 | - printf("pcnet_mmio_readw addr=" TARGET_FMT_plx " val = 0x%04x\n", addr, | |
2037 | + printf("lance_mem_readw addr=" TARGET_FMT_plx " val = 0x%04x\n", addr, | |
2038 | 2038 | val & 0xffff); |
2039 | 2039 | #endif |
2040 | 2040 | ... | ... |