smsc95xx: Add register define
authorWoojung Huh <woojung.huh@microchip.com>
Fri, 2 Sep 2016 20:34:20 +0000 (20:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Sep 2016 20:28:10 +0000 (13:28 -0700)
Add STRAP_STATUS defines.

Signed-off-by: Woojung Huh <Woojung.huh@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/smsc95xx.h

index 526faa0c44e65ee76c420cd4aa104a72da213ee5..29a4d9efce7c49e02fe232c330d71bd6136f69c3 100644 (file)
 
 #define BURST_CAP                      (0x38)
 
+#define        STRAP_STATUS                    (0x3C)
+#define        STRAP_STATUS_PWR_SEL_           (0x00000020)
+#define        STRAP_STATUS_AMDIX_EN_          (0x00000010)
+#define        STRAP_STATUS_PORT_SWAP_         (0x00000008)
+#define        STRAP_STATUS_EEP_SIZE_          (0x00000004)
+#define        STRAP_STATUS_RMT_WKP_           (0x00000002)
+#define        STRAP_STATUS_EEP_DISABLE_       (0x00000001)
+
 #define GPIO_WAKE                      (0x64)
 
 #define INT_EP_CTL                     (0x68)