Hello David, Ben, Florian, Chris and everybody, this series improves ethoc behavior in gigabit environment: - first patch introduces two phylib setters for 'advertising' and 'supported' fields of struct phy_device; - second patch disables gigabit advertisement in the attached PHY making possible to use gigabit link without any additional setup; - third patch adds support to set up MII management bus frequency, adding new fields to platform data and to OF bindings; - fourth patch adds basic ethtool support to ethoc driver.
These changes allow to use KC-705 board with 50MHz xtensa core and OpenCores 10/100 Mbps MAC connected to gigabit network without any additional setup. Changes v1->v2: - new patch "phy: provide accessors for 'advertising' and 'supported' fields"; - disable both gigabit advertisement and support; - drop MDIO bus frequency configurability, always configure for standard 2.5MHz; - allow using common clock framework to provide ethoc clock; - new patch: "net: ethoc: implement ethtool operations"; - drop device tree bindings documentation patch until common bindings format for network drivers is decided. Max Filippov (4): phy: provide accessors for 'advertising' and 'supported' fields net: ethoc: don't advertise gigabit speed on attached PHY net: ethoc: set up MII management bus clock net: ethoc: implement ethtool operations drivers/net/ethernet/ethoc.c | 130 ++++++++++++++++++++++++++++++++++++++++++- include/linux/phy.h | 12 ++++ include/net/ethoc.h | 1 + 3 files changed, 141 insertions(+), 2 deletions(-) -- 1.8.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/