Re: [PATCH 3/5] net: add Hisilicon Network Subsystem MDIO support

2015-08-21 Thread Arnd Bergmann
On Monday 17 August 2015 17:17:50 Kenneth Lee wrote: > Thanks, Arnd, > > You are right. This is the same IP as hip04_mdio.c. We just mis-understand the > hardware design. We will merge them and re-submit the patches. Ok, great! Arnd -- To unsubscribe from this list: send the line

Re: [PATCH 3/5] net: add Hisilicon Network Subsystem MDIO support

2015-08-21 Thread Arnd Bergmann
On Monday 17 August 2015 17:17:50 Kenneth Lee wrote: Thanks, Arnd, You are right. This is the same IP as hip04_mdio.c. We just mis-understand the hardware design. We will merge them and re-submit the patches. Ok, great! Arnd -- To unsubscribe from this list: send the line

Re: [PATCH 3/5] net: add Hisilicon Network Subsystem MDIO support

2015-08-17 Thread Kenneth Lee
Thanks, Arnd, You are right. This is the same IP as hip04_mdio.c. We just mis-understand the hardware design. We will merge them and re-submit the patches. On Fri, Aug 14, 2015 at 10:57:28PM +0200, Arnd Bergmann wrote: > On Friday 14 August 2015 18:30:20 Kenneth Lee wrote: > > > +#define

Re: [PATCH 3/5] net: add Hisilicon Network Subsystem MDIO support

2015-08-17 Thread Kenneth Lee
Thanks, Arnd, You are right. This is the same IP as hip04_mdio.c. We just mis-understand the hardware design. We will merge them and re-submit the patches. On Fri, Aug 14, 2015 at 10:57:28PM +0200, Arnd Bergmann wrote: On Friday 14 August 2015 18:30:20 Kenneth Lee wrote: +#define

Re: [PATCH 3/5] net: add Hisilicon Network Subsystem MDIO support

2015-08-14 Thread Arnd Bergmann
On Friday 14 August 2015 18:30:20 Kenneth Lee wrote: > +#define MDIO_BASE_ADDR 0x403C Does not belong in here (and is not used) > +#define MDIO_COMMAND_REG 0x0 > +#define MDIO_ADDR_REG 0x4 > +#define MDIO_WDATA_REG 0x8 >

[PATCH 3/5] net: add Hisilicon Network Subsystem MDIO support

2015-08-14 Thread Kenneth Lee
The MDIO support for Hisilicon Network Subsystem. It is used in Hislicon P660 and Hi1610 SoC to control the external PHY Signed-off-by: Yisen Zhuang Signed-off-by: Kenneth Lee --- drivers/net/ethernet/hisilicon/hns/hns_mdio_main.c | 597 + 1 file changed, 597 insertions(+)

Re: [PATCH 3/5] net: add Hisilicon Network Subsystem MDIO support

2015-08-14 Thread Arnd Bergmann
On Friday 14 August 2015 18:30:20 Kenneth Lee wrote: +#define MDIO_BASE_ADDR 0x403C Does not belong in here (and is not used) +#define MDIO_COMMAND_REG 0x0 +#define MDIO_ADDR_REG 0x4 +#define MDIO_WDATA_REG 0x8 +#define

[PATCH 3/5] net: add Hisilicon Network Subsystem MDIO support

2015-08-14 Thread Kenneth Lee
The MDIO support for Hisilicon Network Subsystem. It is used in Hislicon P660 and Hi1610 SoC to control the external PHY Signed-off-by: Yisen Zhuang yisen.zhu...@huawei.com Signed-off-by: Kenneth Lee liguo...@huawei.com --- drivers/net/ethernet/hisilicon/hns/hns_mdio_main.c | 597