net: phy: bcm7xxx: add an explicit version check for GPHY rev G0
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 3 Dec 2014 17:57:00 +0000 (09:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2014 02:33:29 +0000 (21:33 -0500)
commit60efff0c3da9e2d9ae9f6fcdcf34061419687ab3
tree06b24b57237fbd930e3b711f6105814553611d86
parentb04a2f5b9ff5460a0bfbc97c9d6dd0017ad0cbe5
net: phy: bcm7xxx: add an explicit version check for GPHY rev G0

GPHY revision G0 has its version rolled over to 0x10, introduce an
explicit check for that revision and invoke the proper workaround
function for it.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/bcm7xxx.c