2010-10-22 07:10:39 SMSC Lan8720
Appalayagari Sreedhar (INDIA)
Message: 94870
Hi,
I am working with the BF527 based custom board 2009R1-RC1 distribution.
Currently on the custom board we have SMSC Lan8700 Phy IC, We are uisng the inbuilt mac. We would like to replace the Phy Lan8700 with Lan8720.
In the drivers/net/phy/smsc.c file there is no support for the Lan8720 driver.
I would like to know whether phy matters?
Do i require any software modifications in the bfin_mac.c code?
Thank you, Sreedhar.
QuoteReplyEditDelete
2010-10-22 11:24:52 Re: SMSC Lan8720
Mike Frysinger (UNITED STATES)
Message: 94881
the Blackfin on-chip MAC does not care what PHY is connected
QuoteReplyEditDelete
2010-10-25 05:23:35 Re: SMSC Lan8720
Appalayagari Sreedhar (INDIA)
Message: 95136
Hi,
Thanks Mike, So Software wise no need to change I can use the PHY 8720 in my custom board along with BF527 inbuilt MAC.
please confirm
Thanks once again.
QuoteReplyEditDelete
2010-10-25 14:12:25 Re: SMSC Lan8720
Mike Frysinger (UNITED STATES)
Message: 95142
i cannot speak for the PHY, only the MAC
QuoteReplyEditDelete
2010-10-26 01:30:29 Re: SMSC Lan8720
Sonic Zhang (CHINA)
Message: 95156
Only if your phy is supported in kernel mainline under drivers/net/phy/
QuoteReplyEditDelete
2010-10-27 06:50:26 Re: SMSC Lan8720
Appalayagari Sreedhar (INDIA)
Message: 95319
Thank you Mike and Sonic.
We have one custom hw with LAN8700 and BF527 using Onchip MAC, we are working with 2009R1-RC1 distribution.
In my current working distribution we have LAN8700 we have not enabled the PHY driver file in the kernel. but still it works.
Please find below the options selected.
-*- PHY Device support and infrastructure --->
--- PHY Device support and infrastructure
*** MII PHY device drivers ***
< > Drivers for Marvell PHYs
< > Drivers for Davicom PHYs
< > Drivers for Quality Semiconductor PHYs
< > Drivers for the Intel LXT PHYs
< > Drivers for the Cicada PHYs
< > Drivers for the Vitesse PHYs
< > Drivers for SMSC PHYs /* We have not enabled this */
< > Drivers for Broadcom PHYs
< > Drivers for ICPlus PHYs
< > Drivers for Realtek PHYs
[ ] Driver for MDIO Bus/PHY emulation with fixed speed/link PHYs
< > Support for bitbanged MDIO buses
--- Ethernet (10 or 100Mbit)
-*- Generic Media Independent Interface device support
<*> Blackfin on-chip MAC support
[*] Use L1 memory for rx/tx packets
(10) Number of transmit buffer packets
(20) Number of receive buffer packets
[*] RMII PHY Interface (EXPERIMENTAL)
< > SMC 91C9x/91C1xxx support
< > SMSC LAN911x/LAN921x families embedded ethernet support
< > DM9000 support
< > ENC28J60 support
< > Broadcom 440x/47xx ethernet support
Can you please tell me how this works? So that i can understand and estimate how LAN8720 can be used.
Thank you.
QuoteReplyEditDelete
2010-10-27 10:02:11 Re: SMSC Lan8720
Mike Frysinger (UNITED STATES)
Message: 95323
read the boot output. it tells you it binds a generic phy driver since most phys support a bare min spec.
QuoteReplyEditDelete
2010-10-27 10:36:28 Re: SMSC Lan8720
Appalayagari Sreedhar (INDIA)
Message: 95324
Dear Mike,
Can you please tell me whether BF527 OnChip Mac and SMSC LAN8720 PHY will work in 2009R1-RC1 distribution.We are in the process of finalising the components for the new HW for one of our Customer.
If not what we need to do, please suggest.
Thank you, Sreedhar.
QuoteReplyEditDelete
2010-10-27 10:52:43 Re: SMSC Lan8720
Mike Frysinger (UNITED STATES)
Message: 95325
please re-read the responses you've already been given
QuoteReplyEditDelete
2010-11-02 09:14:03 Re: SMSC Lan8720
Appalayagari Sreedhar (INDIA)
Message: 95483
Dear Sonic,
When this LAN8720 driver will be available in the mainline kernel?
Thank you.
QuoteReplyEditDelete
2010-11-02 23:04:56 Re: SMSC Lan8720
Sonic Zhang (CHINA)
Message: 95500
They phy driver for LAN8720 is already in 2010R1-RC1 kernel. See drvers/net/phy/smsc.c:225
QuoteReplyEditDelete
2010-11-03 06:32:45 Re: SMSC Lan8720
Appalayagari Sreedhar (INDIA)
Message: 95524
Dear Sonic,
I got it, Thank you so much.
-Sreedhar
QuoteReplyEditDelete
2010-11-08 20:17:31 Re: SMSC Lan8720
Mike Frysinger (UNITED STATES)
Message: 95661
we arent SMSC. if you have a question for SMSC, you should ask SMSC. otherwise, we have access to the same exact source code you do which means you should be more than capable of reading the files and finding out this information for yourself. these questions are beyond basic for someone who works for a company that is supposed to be "domain experts" when it comes to Linux.