summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/wlan/if_runreg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/wlan/if_runreg.h')
-rw-r--r--sys/dev/usb/wlan/if_runreg.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/sys/dev/usb/wlan/if_runreg.h b/sys/dev/usb/wlan/if_runreg.h
index 3ca01cd..aa54a72 100644
--- a/sys/dev/usb/wlan/if_runreg.h
+++ b/sys/dev/usb/wlan/if_runreg.h
@@ -962,31 +962,6 @@ struct rt2860_rxwi {
#define RT2860_RIDX_MAX 12
/*
- * Control and status registers access macros.
- */
-#define RAL_READ(sc, reg) \
- bus_space_read_4((sc)->sc_st, (sc)->sc_sh, (reg))
-
-#define RAL_WRITE(sc, reg, val) \
- bus_space_write_4((sc)->sc_st, (sc)->sc_sh, (reg), (val))
-
-#define RAL_BARRIER_WRITE(sc) \
- bus_space_barrier((sc)->sc_st, (sc)->sc_sh, 0, 0x1800, \
- BUS_SPACE_BARRIER_WRITE)
-
-#define RAL_BARRIER_READ_WRITE(sc) \
- bus_space_barrier((sc)->sc_st, (sc)->sc_sh, 0, 0x1800, \
- BUS_SPACE_BARRIER_READ | BUS_SPACE_BARRIER_WRITE)
-
-#define RAL_WRITE_REGION_1(sc, offset, datap, count) \
- bus_space_write_region_1((sc)->sc_st, (sc)->sc_sh, (offset), \
- (datap), (count))
-
-#define RAL_SET_REGION_4(sc, offset, val, count) \
- bus_space_set_region_4((sc)->sc_st, (sc)->sc_sh, (offset), \
- (val), (count))
-
-/*
* EEPROM access macro.
*/
#define RT2860_EEPROM_CTL(sc, val) do { \
OpenPOWER on IntegriCloud