[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <9235D6609DB808459E95D78E17F2E43D409100A1@CHN-SV-EXMX02.mchp-main.com>
Date: Fri, 2 Sep 2016 20:34:20 +0000
From: <Woojung.Huh@...rochip.com>
To: <davem@...emloft.net>
CC: <steve.glendinning@...well.net>, <netdev@...r.kernel.org>,
<UNGLinuxDriver@...rochip.com>
Subject: [PATCH net-next 2/3] smsc95xx: Add register define
From: Woojung Huh <woojung.huh@...rochip.com>
Add STRAP_STATUS defines.
Signed-off-by: Woojung Huh <Woojung.huh@...il.com>
---
drivers/net/usb/smsc95xx.h | 8 ++++++++
1 file changed, 8 insertions(+)
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)
--
2.7.4
Powered by blists - more mailing lists