Patchwork [U-Boot,v2] net: Add SMSC89128 support

login
register
mail settings
Submitter Phil Edworthy
Date May 31, 2011, 1:53 p.m.
Message ID <1306849991-10669-1-git-send-email-phil.edworthy@renesas.com>
Download mbox | patch
Permalink /patch/98036/
State Accepted
Headers show

Comments

Phil Edworthy - May 31, 2011, 1:53 p.m.
Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Cc: Ben Warren <biggerbadderben@gmail.com>
---
Changes for v2:
   - Changed to keep list sorted

 drivers/net/smc911x.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

--
1.7.0.4
Wolfgang Denk - July 27, 2011, 9:27 p.m.
Dear Phil Edworthy,

In message <1306849991-10669-1-git-send-email-phil.edworthy@renesas.com> you wrote:
> Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
> Cc: Ben Warren <biggerbadderben@gmail.com>
> ---
> Changes for v2:
>    - Changed to keep list sorted
> 
>  drivers/net/smc911x.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Patch

diff --git a/drivers/net/smc911x.h b/drivers/net/smc911x.h
index 05e007c..8ce08a9 100644
--- a/drivers/net/smc911x.h
+++ b/drivers/net/smc911x.h
@@ -384,6 +384,7 @@  static inline void smc911x_reg_write(struct eth_device *dev,
 #define WUCSR_MPEN			0x00000002

 /* Chip ID values */
+#define CHIP_89218	0x218a
 #define CHIP_9115	0x115
 #define CHIP_9116	0x116
 #define CHIP_9117	0x117
@@ -402,6 +403,7 @@  struct chip_id {
 };

 static const struct chip_id chip_ids[] =  {
+	{ CHIP_89218, "LAN89218" },
 	{ CHIP_9115, "LAN9115" },
 	{ CHIP_9116, "LAN9116" },
 	{ CHIP_9117, "LAN9117" },