Patchwork [U-Boot] net: Add SMSC89128 support

login
register
mail settings
Submitter Phil Edworthy
Date May 31, 2011, 1:23 p.m.
Message ID <1306848213-8190-1-git-send-email-phil.edworthy@renesas.com>
Download mbox | patch
Permalink /patch/98034/
State Changes Requested
Headers show

Comments

Phil Edworthy - May 31, 2011, 1:23 p.m.
Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Cc: Ben Warren <biggerbadderben@gmail.com>
---
 drivers/net/smc911x.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

--
1.7.0.4
Wolfgang Denk - May 31, 2011, 1:42 p.m.
Dear Phil Edworthy,

In message <1306848213-8190-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>
> ---
>  drivers/net/smc911x.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/net/smc911x.h b/drivers/net/smc911x.h
> index 05e007c..467ec25 100644
> --- a/drivers/net/smc911x.h
> +++ b/drivers/net/smc911x.h
> @@ -395,6 +395,7 @@ static inline void smc911x_reg_write(struct eth_device *dev,
>  #define CHIP_9218	0x118a
>  #define CHIP_9220	0x9220
>  #define CHIP_9221	0x9221
> +#define CHIP_89218	0x218a
> 
>  struct chip_id {
>  	u16 id;
> @@ -413,6 +414,7 @@ static const struct chip_id chip_ids[] =  {
>  	{ CHIP_9218, "LAN9218" },
>  	{ CHIP_9220, "LAN9220" },
>  	{ CHIP_9221, "LAN9221" },
> +	{ CHIP_89218, "LAN89218" },
>  	{ 0, NULL },
>  };

Can you please keep the lists sorted?  Thanks.

Best regards,

Wolfgang Denk

Patch

diff --git a/drivers/net/smc911x.h b/drivers/net/smc911x.h
index 05e007c..467ec25 100644
--- a/drivers/net/smc911x.h
+++ b/drivers/net/smc911x.h
@@ -395,6 +395,7 @@  static inline void smc911x_reg_write(struct eth_device *dev,
 #define CHIP_9218	0x118a
 #define CHIP_9220	0x9220
 #define CHIP_9221	0x9221
+#define CHIP_89218	0x218a

 struct chip_id {
 	u16 id;
@@ -413,6 +414,7 @@  static const struct chip_id chip_ids[] =  {
 	{ CHIP_9218, "LAN9218" },
 	{ CHIP_9220, "LAN9220" },
 	{ CHIP_9221, "LAN9221" },
+	{ CHIP_89218, "LAN89218" },
 	{ 0, NULL },
 };