dp83640: Verify calibration pin assignment
authorStefan Sørensen <stefan.sorensen@spectralink.com>
Fri, 27 Jun 2014 10:05:31 +0000 (12:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Jul 2014 01:52:53 +0000 (18:52 -0700)
commit6f39eb87de043ce778f584f4ae1b23c6db415a33
tree7960dcde7fc810f6b0b5b3cc4e19cf20b84c1265
parentad01577aeb92d7cc72bb945aeb28def3749065da
dp83640: Verify calibration pin assignment

This constraints the pin assignment to not allow the calibration function to
be reassigned and only allow reassigning the calibratin pin if only one phy is
connected.

Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/dp83640.c