summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2011-02-15 12:51:10 (GMT)
committerDavid S. Miller <davem@davemloft.net>2011-02-17 22:11:15 (GMT)
commited199facd070f8e551dc16a2ae1baa01d8d28ed4 (patch)
tree79b67ec787dadc8fc88b1c8ec9273979b189decd /net
parent0d672e9f8ac320c6d1ea9103db6df7f99ea20361 (diff)
downloadlinux-fsl-qoriq-ed199facd070f8e551dc16a2ae1baa01d8d28ed4.tar.xz
tg3: Restrict phy ioctl access
If management firmware is present and the device is down, the firmware will assume control of the phy. If a phy access were allowed from the host, it will collide with firmware phy accesses, resulting in unpredictable behavior. This patch fixes the problem by disallowing phy accesses during the problematic condition. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Reviewed-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions