diff options
author | Woojung Huh <woojung.huh@microchip.com> | 2016-09-02 20:34:20 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-06 13:28:10 -0700 |
commit | 273bf288f91ef922ce8ee851b45243bafc35034f (patch) | |
tree | ca2f738ac289940b7f707abcd30c436e8323b142 | |
parent | 983ccd74a14dd6fd28f579fc2a50c0c416f276d1 (diff) | |
download | op-kernel-dev-273bf288f91ef922ce8ee851b45243bafc35034f.zip op-kernel-dev-273bf288f91ef922ce8ee851b45243bafc35034f.tar.gz |
smsc95xx: Add register define
Add STRAP_STATUS defines.
Signed-off-by: Woojung Huh <Woojung.huh@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/usb/smsc95xx.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/usb/smsc95xx.h b/drivers/net/usb/smsc95xx.h index 526faa0..29a4d9e 100644 --- a/drivers/net/usb/smsc95xx.h +++ b/drivers/net/usb/smsc95xx.h @@ -144,6 +144,14 @@ #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) |