BIT(CARL9170FW_HANDLE_BACK_REQ) |
BIT(CARL9170FW_RX_FILTER) |
BIT(CARL9170FW_HW_COUNTERS) |
-#ifdef CONFIG_CARL9170FW_USB_INIT_FIRMWARE
BIT(CARL9170FW_USB_INIT_FIRMWARE) |
-# ifdef CONFIG_CARL9170FW_USB_UP_STREAM
+#ifdef CONFIG_CARL9170FW_USB_UP_STREAM
BIT(CARL9170FW_USB_UP_STREAM) |
-# endif /* CONFIG_CARL9170FW_USB_UP_STREAM */
-# ifdef CONFIG_CARL9170FW_USB_DOWN_STREAM
+#endif /* CONFIG_CARL9170FW_USB_UP_STREAM */
+#ifdef CONFIG_CARL9170FW_USB_DOWN_STREAM
BIT(CARL9170FW_USB_DOWN_STREAM) |
-# endif /* CONFIG_CARL9170FW_USB_DOWN_STREAM */
-#endif /* CONFIG_CARL9170FW_USB_INIT_FIRMWARE */
+#endif /* CONFIG_CARL9170FW_USB_DOWN_STREAM */
#ifdef CONFIG_CARL9170FW_RADIO_FUNCTIONS
BIT(CARL9170FW_COMMAND_PHY) |
BIT(CARL9170FW_PSM) |
Say Y, unless you don't care if lsusb -v fails.
-config CARL9170FW_USB_INIT_FIRMWARE
- def_bool y
- prompt "USB Interface Setup"
- ---help---
- Firmware should initialize the USB chip.
-
- Just say Y.
-
config CARL9170FW_USB_UP_STREAM
def_bool y
prompt "USB Upload Stream"
#endif /* CONFIG_CARL9170FW_USB_MODESWITCH */
-#ifdef CONFIG_CARL9170FW_USB_INIT_FIRMWARE
static void usb_pta_init(void)
{
unsigned int usb_dma_ctrl = 0;
set(AR9170_USB_REG_DMA_CTL, usb_dma_ctrl);
}
-#endif /* CONFIG_CARL9170FW_USB_INIT_FIRMWARE */
void usb_init(void)
{
-#ifdef CONFIG_CARL9170FW_USB_INIT_FIRMWARE
usb_pta_init();
-#endif /* CONFIG_CARL9170FW_USB_INIT_FIRMWARE */
fw.usb.config = 1;
/*