diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2011-02-15 12:51:10 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-17 14:11:15 -0800 |
commit | ed199facd070f8e551dc16a2ae1baa01d8d28ed4 (patch) | |
tree | 79b67ec787dadc8fc88b1c8ec9273979b189decd /net | |
parent | 0d672e9f8ac320c6d1ea9103db6df7f99ea20361 (diff) |
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