eHEA: Fix bonding support
authorThomas Klein <osstklei@de.ibm.com>
Wed, 18 Jul 2007 15:34:09 +0000 (17:34 +0200)
committerJeff Garzik <jeff@garzik.org>
Wed, 18 Jul 2007 22:38:25 +0000 (18:38 -0400)
commitf9e29228e6f2058e7b086115ecb7008630ebd832
tree6bdfb01bad0eeeabb7c75f651106c91081a0401f
parente190d6b140079c104ba57e5130a9b4ebea618e92
eHEA: Fix bonding support

The driver didn't allow an interface's MAC address to be modified if the
respective interface wasn't setup - a failing Hcall was the result. Thus
bonding wasn't usable. The fix moves the failing Hcall which was registering
a MAC address for the reception of BC packets in firmware from the port up
and down functions to the port resources setup functions. Additionally the
missing update of the last_rx member of the netdev structure was added.

Signed-off-by: Thomas Klein <tklein@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ehea/ehea.h
drivers/net/ehea/ehea_main.c