]> Git Repo - qemu.git/blobdiff - hw/mac_dbdma.c
eepro100: Simplified device instantiation
[qemu.git] / hw / mac_dbdma.c
index 8f94c35ac32fcec2de9b5132f935f709a257ac66..e2697d3a742c7c64bc146e1bea2157dd6df98550 100644 (file)
@@ -707,9 +707,7 @@ static void dbdma_writel (void *opaque,
     DBDMA_DPRINTF("channel 0x%x reg 0x%x\n",
                   (uint32_t)addr >> DBDMA_CHANNEL_SHIFT, reg);
 
-#ifdef TARGET_WORDS_BIGENDIAN
     value = bswap32(value);
-#endif
 
     /* cmdptr cannot be modified if channel is RUN or ACTIVE */
 
@@ -790,9 +788,7 @@ static uint32_t dbdma_readl (void *opaque, target_phys_addr_t addr)
         break;
     }
 
-#ifdef TARGET_WORDS_BIGENDIAN
     value = bswap32(value);
-#endif
     return value;
 }
 
This page took 0.025658 seconds and 4 git commands to generate.