(writel((value), (void *)(((a)->mem_map) + BPCTLI_##reg)))
#define BPCTL_READ_REG(a, reg) ( \
- readl((void *)((a)->mem_map) + BPCTLI_##reg))
+ readl((void *)((a)->mem_map) + BPCTLI_##reg))
#define BPCTL_WRITE_FLUSH(a) BPCTL_READ_REG(a, STATUS)
#define BPCTL_BP_WRITE_REG(a, reg, value) ({ \
- BPCTL_WRITE_REG(a, reg, value); \
- BPCTL_WRITE_FLUSH(a);})
+ BPCTL_WRITE_REG(a, reg, value); \
+ BPCTL_WRITE_FLUSH(a); })
/**************************************************************/
/************** 82575 Interface********************************/
(writel((value), (void *)(((a)->mem_map) + BP10G_##reg)))
#define BP10G_READ_REG(a, reg) ( \
- readl((void *)((a)->mem_map) + BP10G_##reg))
+ readl((void *)((a)->mem_map) + BP10G_##reg))
/*****BROADCOM*******************************************/
(writel((value), (void *)(((a)->mem_map) + BP10GB_##reg)))
#define BP10GB_READ_REG(a, reg) ( \
- readl((void *)((a)->mem_map) + BP10GB_##reg))
+ readl((void *)((a)->mem_map) + BP10GB_##reg))
#endif