On Thursday 07 April 2011, Peter Lebbing wrote:
> On 06/04/11 16:18, Yeoh Chun Yeow wrote:
> > UBNT RS has two ports connected to eth1, port 0 and port 1. If you
> > connect your Ethernet cable to port 0 without first connecting Ethernet
> > cable to port 1, it won't work. You will see a lot of messages "Trying
> > 100/FULL, Trying 10/HALF, Trying 10/HALF". Once you connect port 1 with
> > Ethernet cable, you will only see the message "eth1: link up
> > (100Mbps/Full duplex)" and the port 0 will function properly.
> > 
> > Do you know why?
> 
> So the two ports 0 and 1 are attached to the switch chip ports with those
> numbers?
> 
> It seems to me this is some interesting interaction between the switch chip
> driver and the drivers for your System-on-Chip containing the Ethernet
> MACs.
> 
> Those messages about 10/HALF etcetera are, AFAIK, related to querying the
> PHYs connected to an Ethernet MAC for link state. But if the ADM6996
> switch driver is queried for link state, it will invariably return 100
> Mbit/s full duplex and link up (function adm6996_read_status). This was
> already the case before I implemented VLAN functionality, by the way.
> 
> Peter.
As I understand it on the Routerstation there are two ports on the AR7130
both of which are connected to the switch.  eth0 is connected to the port
on the switch which just connects to one external RJ54, the upstream WAN
port, and then eth1 is connected to the two LAN RJ45s.  For reference
there is rather simple overview at http://ubnt.com/wiki/RouterStation.

So the idea would be to make the two LAN RJ45s individually configurable,
as by default they operate quite well as a switch sharing a common config.
It would also be useful to be able to sense link up/down transitions.

David
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to