tg3: Add a warning during link settings change if mgmt enabled
authorNithin Sujir <nsujir@broadcom.com>
Tue, 9 Apr 2013 08:48:04 +0000 (08:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Apr 2013 19:14:14 +0000 (15:14 -0400)
commitce20f1613b1a2d55257f37c8bd26b47ef31f4cba
tree430d0dc38a3cee0ab249d582f4e3cf2d23f98da8
parentf1315d20525f3a0004b5e64a99e0d5f7e377b7e3
tg3: Add a warning during link settings change if mgmt enabled

When the user executes certain ethtool commands such as -s, -A, -G, -L,
-r a phy reset or autonegotiate is performed which results in management
traffic being interrupted.

Add a warning in these cases.

Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c