[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101101022039.5EF1F5F951@mail.davicom.com.tw>
Date: Mon, 1 Nov 2010 10:27:25 +0800
From: "Joseph Chang" <joseph_chang@...l.davicom.com.tw>
To: <macpaul@...estech.com>, <netdev@...r.kernel.org>
Cc: <afleming@...escale.com>, <jeff@...zik.org>,
<f.rodo@...-technologies.fr>
Subject: RE: About the Davicom PHY in drivers/net/phy in Linux kernel
Dear MacPaul,
1.Yes. I have downloaded it. And below is the know items.
DM9161A
cpu: Faraday A320 (arm920t) + Andes AG101 (NDS32) ;SoC
OS: Linux: 2.6.32
Actions:
- davicom.c // Download from LXR
- include-linux-mii.h // Download from LXR
2.Your quote is right. Please tell us the test result.
3.I have a question for you,
Where is your company? I browse for andestech, And found that andestech located at
SiSoft SIPP Center! (Address: 2F, No.1, Li-Hsin First Road, Science-Based Industrial Park)
Is it right?
Best Regards,
Joseph CHANG
System Application Engineering Division
Davicom Semiconductor, Inc.
No. 6 Li-Hsin Rd. VI, Science-Based Park,
Hsin-Chu, Taiwan.
Tel: 886-3-5798797 Ex 8534
Fax: 886-3-5646929
Web: http://www.davicom.com.tw
-----Original Message-----
From: macpaul@...estech.com [mailto:macpaul@...estech.com]
Sent: Friday, October 29, 2010 3:47 PM
To: joseph_chang@...l.davicom.com.tw; netdev@...r.kernel.org
Cc: afleming@...escale.com; jeff@...zik.org; f.rodo@...-technologies.fr
Subject: RE: About the Davicom PHY in drivers/net/phy in Linux kernel
Hi Joseph,
I just followed up your suggestion in previous mail, let me quote them here:
# quote
The recommend is changed to be as below:
err = phy_write(phydev, MII_BMCR, BMCR_RESET);
//err = phy_write(phydev, MII_BMCR, BMCR_ISOLATE);
err = phy_write(phydev, MII_DM9161_SCR, MII_DM9161_SCR_INIT);
err = phy_write(phydev, MII_DM9161_10BTCSR, MII_DM9161_10BTCSR_INIT);
// err = phy_write(phydev, MII_NWAYTEST, 0x10);
err = phy_write(phydev, MII_BMCR, BMCR_ANENABLE | BMCR_ANRESTART);
*Note: Added a PHY reset command.
# end quote
>
> * == > Would you tell us your:
> CPU = ?
SoC: Faraday A320 (arm920t) / Andes AG101 (NDS32)
> Linux Kernel version= ?
Linux: 2.6.32
> I will like to download the same source code from LXR.
> And can check more detail for you.
I've believed that you have download the source already. :-)
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists