]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: mvpp2.c: Enable 10G support for port 0 (SFI)
authorStefan Chulski <stefanc@marvell.com>
Thu, 6 Apr 2017 13:39:08 +0000 (15:39 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Fri, 2 Jun 2017 19:44:19 +0000 (14:44 -0500)
commite09d0c8314933e586de6549581e35cb21f8b4da2
treec59ab219cfc5a960a999df66446a30e7f93908aa
parentcc1aa218f51088230149aa4fc8930ef1d6e36a0b
net: mvpp2.c: Enable 10G support for port 0 (SFI)

This patch fixes some remaining issues in the mvpp2 driver for the 10GB
support on port 0. These changes are:

- Incorrect PCS configuration
- Skip PHY configuration when no PHY is connected
- Skip GMAC configurations if 10G SFI mode set

Signed-off-by: Stefan Chulski <stefanc@marvell.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Kostya Porotchkin <kostap@marvell.com>
Cc: Nadav Haklai <nadavh@marvell.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/mvpp2.c