diff options
author | Krzysztof Piotr Oledzki <ole@ans.pl> | 2010-10-06 17:25:06 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-06 17:25:06 -0400 |
commit | 700c2a779e6d5a60e2ef4716e75ea7f41546602f (patch) | |
tree | c2558f87d2db5d9bc1e2c4110970d6db27d5c02b /drivers/net/bonding | |
parent | 4f5157307652f1cbff2413b5e81ebcadd8e2524b (diff) |
bonding: print information about speed and duplex seen by the driver
before:
bonding: bond0: link status definitely up for interface eth5
bonding: bond0: link status definitely up for interface eth0
after:
bonding: bond0: link status definitely up for interface eth5, 100 Mbps full duplex.
bonding: bond0: link status definitely up for interface eth0, 100 Mbps full duplex.
Signed-off-by: Krzysztof Piotr Oledzki <ole@ans.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding')
-rw-r--r-- | drivers/net/bonding/bond_main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index 6f5e6b453da6..e498ce3defad 100644 --- a/drivers/net/bonding/bond_main.c +++ b/drivers/net/bonding/bond_main.c | |||
@@ -2406,8 +2406,9 @@ static void bond_miimon_commit(struct bonding *bond) | |||
2406 | slave->state = BOND_STATE_BACKUP; | 2406 | slave->state = BOND_STATE_BACKUP; |
2407 | } | 2407 | } |
2408 | 2408 | ||
2409 | pr_info("%s: link status definitely up for interface %s.\n", | 2409 | pr_info("%s: link status definitely up for interface %s, %d Mbps %s duplex.\n", |
2410 | bond->dev->name, slave->dev->name); | 2410 | bond->dev->name, slave->dev->name, |
2411 | slave->speed, slave->duplex ? "full" : "half"); | ||
2411 | 2412 | ||
2412 | /* notify ad that the link status has changed */ | 2413 | /* notify ad that the link status has changed */ |
2413 | if (bond->params.mode == BOND_MODE_8023AD) | 2414 | if (bond->params.mode == BOND_MODE_8023AD) |