Skip to contentSkip to conversation

Does U-boot support ethernet chip LAN9210 from SMSC?

U-Boot-Users 이승열 2 participants 6 messages Jun 30, 2008

lore
Share & tools
lore
#1 lore raw

Hi Seung,

Quoted 5 lines · ???

Hi,

Does U-boot support ethernet chip LAN9210 from SMSC? If yes, how can I get driver source code?

The smc911x driver claims to support many different 9[12]1x chips, although I can't speak for certain about the 9210. It was added recently, so be sure to clone the latest source tree. Have a look in drivers/net/smc911x.c

regards,
Ben

author
#2 lore raw

Hi Ben,

Sorry for bothering you.

I have downloaded the latest version of U-boot. There is smc911x.c file. I have added this file to Makefile. The compilation is successful.

But, there are two problems.
1. there is no LAN9210 entry in chip id list
2. Only 32-bit is supported.

Is there any recent driver for LAN9210?

----- Original Message -----
From: "Ben Warren" <[email protected]>
To: "???" <[email protected]>
Cc: <[email protected]>
Sent: Monday, June 30, 2008 12:25 PM
Subject: Re: [U-Boot-Users] Does U-boot support ethernet chip LAN9210 from SMSC?

Quoted 16 lines

Hi Seung,

Quoted 5 lines · ???

Hi,

Does U-boot support ethernet chip LAN9210 from SMSC? If yes, how can I get driver source code?

The smc911x driver claims to support many different 9[12]1x chips, although I can't speak for certain about the 9210. It was added recently, so be sure to clone the latest source tree. Have a look in drivers/net/smc911x.c

regards,
Ben

#3 lore raw
Quoted 7 lines · ???

Hi Ben,

Sorry for bothering you.

I have downloaded the latest version of U-boot. There is smc911x.c file. I have added this file to Makefile. The compilation is successful.

You don't have to add anything to the Makefile, just use the correct CONFIG options

Quoted 3 lines

But, there are two problems.
1. there is no LAN9210 entry in chip id list

So add it. I haven't looked at the LAN9210 data sheet to even know if it will work with this chip. You're going to have to do some work.

Quoted 2 lines

2. Only 32-bit is supported.

Not true. Both 16 and 32 bit access is supported. Check the source code (hint: look for CONFIG_DRIVER_SMC911X_16_BIT)

Quoted 1 line

Is there any recent driver for LAN9210?

I don't know of another or I would have told you about it.

Good luck,
Ben

author
#4 lore raw

Hi Ben,

I have found smc911x.c source code in which both 16 and 32 bit access are supported. I will test my board with this source code.

Thank you.

Best Regards,
Seung Youl.

----- Original Message -----
From: "Ben Warren" <[email protected]>
To: "???" <[email protected]>
Cc: <[email protected]>
Sent: Monday, June 30, 2008 2:43 PM
Subject: Re: [U-Boot-Users] Does U-boot support ethernet chip LAN9210 from SMSC?

Quoted 26 lines · ???
Quoted 7 lines

Hi Ben,

Sorry for bothering you.

I have downloaded the latest version of U-boot. There is smc911x.c file. I have added this file to Makefile. The compilation is successful.

You don't have to add anything to the Makefile, just use the correct CONFIG options

Quoted 3 lines

But, there are two problems.
1. there is no LAN9210 entry in chip id list

So add it. I haven't looked at the LAN9210 data sheet to even know if it will work with this chip. You're going to have to do some work.

Quoted 2 lines

2. Only 32-bit is supported.

Not true. Both 16 and 32 bit access is supported. Check the source code (hint: look for CONFIG_DRIVER_SMC911X_16_BIT)

Quoted 1 line

Is there any recent driver for LAN9210?

I don't know of another or I would have told you about it.

Good luck,
Ben

#5 lore raw
Quoted 5 lines · ???

Hi Ben,

I have found smc911x.c source code in which both 16 and 32 bit access are supported. I will test my board with this source code.

Once you have it working, please send a patch indicating changes you've made.

regards,
Ben