diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-02 17:47:02 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-02 17:47:02 +0000 |
commit | e64d7d595f9454d29de7110e3ec6591105c8e467 (patch) | |
tree | 26eaa11fc8ea8b8817b0e6e99fabaa8af196973a /hw/pcnet.c | |
parent | 0e8f096751f279a8de01d9c66c87911ec431fa4c (diff) | |
download | qemu-e64d7d595f9454d29de7110e3ec6591105c8e467.zip qemu-e64d7d595f9454d29de7110e3ec6591105c8e467.tar.gz qemu-e64d7d595f9454d29de7110e3ec6591105c8e467.tar.bz2 |
Remove address masking
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5853 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
@@ -2060,14 +2060,14 @@ static void lance_mem_writew(void *opaque, target_phys_addr_t addr, printf("lance_mem_writew addr=" TARGET_FMT_plx " val=0x%04x\n", addr, val & 0xffff); #endif - pcnet_ioport_writew(opaque, addr & 7, val & 0xffff); + pcnet_ioport_writew(opaque, addr, val & 0xffff); } static uint32_t lance_mem_readw(void *opaque, target_phys_addr_t addr) { uint32_t val; - val = pcnet_ioport_readw(opaque, addr & 7); + val = pcnet_ioport_readw(opaque, addr); #ifdef PCNET_DEBUG_IO printf("lance_mem_readw addr=" TARGET_FMT_plx " val = 0x%04x\n", addr, val & 0xffff); |