Skip to contentSkip to conversation

Please check if the patch for SMSC LAN9220 is missing

U-Boot Seunghyeon Rhee (이승현) 2 participants 2 messages Oct 19, 2009

lore
Share & tools
lore
#0 lore raw

There were two patches submitted to add support for SMSC LAN9220 and LAN9221.
The latter (more recent one) has been applied but the former hasn't yet. Refer to the
following and check please.

Regards,
Seunghyeon Rhee

Thu Apr 23 07:36:25 CEST 2009

Quoted 31 lines

drivers/net/smc911x.h static inline void smc911x_reg_write(u32 addr,

Quoted 11 lines · Daniel Mack
---
 drivers/net/smc911x.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/net/smc911x.h +0 -0
index 80d2ce0..2b01cf5 100644
@@ -382,6 +382,7 @@ static inline void smc911x_reg_write(u32 addr,

u32 val)

Quoted 9 lines
drivers/net/smc911x.h +1 -0
 #define CHIP_9216    0x116a
 #define CHIP_9217    0x117a
 #define CHIP_9218    0x118a
+#define CHIP_9220    0x9220
 
 struct chip_id {
     u16 id;

drivers/net/smc911x.h static const struct chip_id chip_ids[] = { · line 405

Quoted 7 lines
drivers/net/smc911x.h +1 -0
@@ -398,6 +399,7 @@ static const struct chip_id chip_ids[] =  {
     { CHIP_9216, "LAN9216" },
     { CHIP_9217, "LAN9217" },
     { CHIP_9218, "LAN9218" },
+    { CHIP_9220, "LAN9220" },
     { 0, NULL },
 };
 

Applied to net/next branch.

Quoted 2 lines

thanks,
Ben

Fri Jul 10 08:21:31 CEST 2009

Quoted 32 lines

drivers/net/smc911x.h static inline void smc911x_reg_write(u32 addr,

Quoted 10 lines · Andreas Pretzsch
---
 drivers/net/smc911x.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/net/smc911x.h +0 -0
index 80d2ce0..c14003c 100644
@@ -382,6 +382,7 @@ static inline void smc911x_reg_write(u32 addr,

u32 val)

Quoted 9 lines
drivers/net/smc911x.h +1 -0
 #define CHIP_9216    0x116a
 #define CHIP_9217    0x117a
 #define CHIP_9218    0x118a
+#define CHIP_9221    0x9221
 
 struct chip_id {
     u16 id;

drivers/net/smc911x.h static const struct chip_id chip_ids[] = { · line 405

Quoted 7 lines
drivers/net/smc911x.h +1 -0
@@ -398,6 +399,7 @@ static const struct chip_id chip_ids[] =  {
     { CHIP_9216, "LAN9216" },
     { CHIP_9217, "LAN9217" },
     { CHIP_9218, "LAN9218" },
+    { CHIP_9221, "LAN9221" },
     { 0, NULL },
 };
 

Applied to net repo.

thanks,
Ben

#1 lore raw

Seunghyeon,

Quoted 9 lines · Seunghyeon Rhee (???)

There were two patches submitted to add support for SMSC LAN9220 and LAN9221.
The latter (more recent one) has been applied but the former hasn't yet. Refer to the
following and check please.

Regards,
Seunghyeon Rhee

Nice catch! I honestly don't know what happened here. I've applied the LAN9220 patch (updated) to the net repo.

regards,
Ben