lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 9 Nov 2012 20:02:19 +0530
From:	Rayagond K <rayagond@...avyalabs.com>
To:	netdev@...r.kernel.org
Subject: query on dynamic switching between Ethernet ports

Hi All,

I am implementing handling of dynamic switching between Ethernet ports
(1GMbps to 100Mbps mode) using PHY layer, I referred various driver in
LXR and doc and I am able to understand the PHY layer and implement in
my driver.

For now I am able to do following in my driver now,

1. Advertising all the capabilities like FULL duplex, half duplex,
pause frames, MII/GMII etc while registering with PHY layer.
2. Able to detect the link up and link down.
3. Able do the auto-negotiation with remote end link partner and
program my MAC accordingly.
4. Able to establish the link by connecting and disconnecting the
cable many times.

But I am facing one problem ie my driver is not able to establish the
link when I load the driver first time and connected to 1G port. If I
toggle the port connection between MII(10/100Mbps) and GMII(1Gbps) for
two/three times and connect it back to GMII ports then driver works
fine and it establish the link.

-- 
wwr
Rayagond
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ