qlge: Add/use function for link up/down.
authorRon Mercer <ron.mercer@qlogic.com>
Thu, 2 Jul 2009 06:06:12 +0000 (06:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Jul 2009 02:10:46 +0000 (19:10 -0700)
commit6a47330892e697ae27d2d56a3c4c7fec2015be93
tree18dacc2ae53a0ee2250bacd1c35a4623d898f2bf
parent7fab3bfe08a2c5c4221685499ec4fef83ad82f83
qlge: Add/use function for link up/down.

We need to set/clear the mac address register when the link goes up/down
respectively.  Without this both ports of a 2-port device can end up
with the same mac address in a bonding scenario.
The new ql_link_on() and ql_link_off() will also be used in handling
certain firmware events.

Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlge/qlge.h
drivers/net/qlge/qlge_main.c
drivers/net/qlge/qlge_mpi.c