-/* Reset all the USB FIFO used for WLAN */
-static void usb_reset_FIFO(void)
-{
- uint32_t val;
-
- /*
- * of course,
- * simpley ORing AR9170_MAC_POWER_STATE_CTRL_RESET
- * would be... I dunno, maybe: just to simple?
- */
-
- val = get(AR9170_MAC_REG_POWER_STATE_CTRL);
- val |= AR9170_MAC_POWER_STATE_CTRL_RESET;
- set(AR9170_MAC_REG_POWER_STATE_CTRL, val);
-
- /* Reset USB FIFO */
- set(AR9170_PWR_REG_ADDA_BB, AR9170_PWR_ADDA_BB_USB_FIFO_RESET);
- set(AR9170_PWR_REG_ADDA_BB, 0x0);
-}
-