Remove unneeded PCI compatibility code
[madwifi/.git] / ath / if_ath_ahb.h
index 4129c4a21759cd277ac96b8f7f82a4116c849847..5d11939c027d8649edc860724264c8e1ccd68c64 100644 (file)
 #define AR531X_BD_MAGIC 0x35333131   /* "5311", for all 531x platforms */
 
 /* Allow compiling on non-mips platforms for code verification */
-#ifndef __mips__
-#define CAC_ADDR(addr) (addr)
-#define UNCAC_ADDR(addr) (addr)
+#ifndef KSEG1ADDR
 #define KSEG1ADDR(addr) (addr)
-#define dma_cache_wback_inv(start,size)        \
-       do { (void) (start); (void) (size); } while (0)
 #endif
 
 #define bus_dma_sync_single    dma_sync_single_for_cpu