rtl8xxxu: Add bit definitions for REG_USB_SPECIAL_OPTION
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 9 Jun 2016 18:38:47 +0000 (14:38 -0400)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 29 Jun 2016 15:44:31 +0000 (18:44 +0300)
Documentation for enabling USB aggregation and whether to select
interrupt or bulk delivery of interrupt events.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_regs.h

index b0e0c64..bff883c 100644 (file)
 #define  USB_HIMR_ROK                  BIT(0)  /*  Receive DMA OK Interrupt */
 
 #define REG_USB_SPECIAL_OPTION         0xfe55
+#define  USB_SPEC_USB_AGG_ENABLE       BIT(3)  /* Enable USB aggregation */
+#define  USB_SPEC_INT_BULK_SELECT      BIT(4)  /* Use interrupt endpoint to
+                                                  deliver interrupt packet.
+                                                  0: Use int, 1: use bulk */
 #define REG_USB_HRPWM                  0xfe58
 #define REG_USB_DMA_AGG_TO             0xfe5b
 #define REG_USB_AGG_TO                 0xfe5c