Re: [PATCH net 3/3] lan78xx: Lan7801 Support for Fixed PHY

2018-04-06 Thread Andrew Lunn
On Fri, Apr 06, 2018 at 11:42:04AM +0530, Raghuram Chary J wrote:
> Adding Fixed PHY support to the lan78xx driver.

Hi Raghuram

What do you expect is connected to the MAC if there is no PHY?

 Andrew


RE: [PATCH net 3/3] lan78xx: Lan7801 Support for Fixed PHY

2018-04-09 Thread RaghuramChary.Jallipalli
> 
> What do you expect is connected to the MAC if there is no PHY?
> 
Hi Andrew,
We connect the Ethernet switch to this MAC. The Ethernet switch port connected 
to MAC do not have the phy.
In this case, need to load the MAC driver and link speed/duplex set.

Thanks,
Raghu


Re: [PATCH net 3/3] lan78xx: Lan7801 Support for Fixed PHY

2018-04-09 Thread Andrew Lunn
On Tue, Apr 10, 2018 at 02:23:23AM +, 
raghuramchary.jallipa...@microchip.com wrote:
> > 
> > What do you expect is connected to the MAC if there is no PHY?
> > 
> Hi Andrew,
> We connect the Ethernet switch to this MAC.

Ah, cool. I was thinking you were going to say an SFP cage.

What switch is it? Does it have a DSA driver?

 Andrew


RE: [PATCH net 3/3] lan78xx: Lan7801 Support for Fixed PHY

2018-04-09 Thread RaghuramChary.Jallipalli
> Ah, cool. I was thinking you were going to say an SFP cage.
> 
> What switch is it? Does it have a DSA driver?
> 
We have 3 port switch KSZ9893 yet to release which is similar to the one 
KSZ9477/KSZ9897 which has DSA driver.
Most of the time 3 port switch being used with LAN7801 to extend the ports.

Thanks,
-Raghu


Re: [PATCH net 3/3] lan78xx: Lan7801 Support for Fixed PHY

2018-04-10 Thread Sasha Levin
Hi,

[This is an automated email]

This commit has been processed because it contains a "Fixes:" tag,
fixing commit: 55d7de9de6c3 Microchip's LAN7800 family USB 2/3 to 10/100/1000 
Ethernet device driver.

The bot has tested the following trees: v4.16.1, v4.15.16, v4.14.33, v4.9.93, 
v4.4.127.

v4.16.1: Build OK!
v4.15.16: Failed to apply! Possible dependencies:
3b51cc75eba2 ("lan78xx: remove redundant initialization of pointer 
'phydev'")

v4.14.33: Failed to apply! Possible dependencies:
3b51cc75eba2 ("lan78xx: remove redundant initialization of pointer 
'phydev'")

v4.9.93: Failed to apply! Possible dependencies:
02dc1f3d613d ("lan78xx: add LAN7801 MAC only support")
3b51cc75eba2 ("lan78xx: remove redundant initialization of pointer 
'phydev'")
8c56ea410efb ("net: lan78xx: fix build errors when linux/phy*.h is removed 
from net/dsa.h")
cc89c323a30e ("lan78xx: Use irq_domain for phy interrupt from USB Int. EP")

v4.4.127: Failed to apply! Possible dependencies:
02dc1f3d613d ("lan78xx: add LAN7801 MAC only support")
3b51cc75eba2 ("lan78xx: remove redundant initialization of pointer 
'phydev'")
8c56ea410efb ("net: lan78xx: fix build errors when linux/phy*.h is removed 
from net/dsa.h")
cc89c323a30e ("lan78xx: Use irq_domain for phy interrupt from USB Int. EP")


--
Thanks,
Sasha