b44: fix force mac address before ifconfig up
authorGary Zambrano <zambrano@broadcom.com>
Wed, 29 Mar 2006 22:12:05 +0000 (17:12 -0500)
committerJeff Garzik <jeff@garzik.org>
Wed, 29 Mar 2006 22:12:05 +0000 (17:12 -0500)
commit5c5131297db57b501f371ab53c40343eac6f2af7
treefa0ad95f0324720c5a18f7138e84d7ef4dd83525
parentf3cab8a0b1a772dc8b055b7affa567a366627c9e
b44: fix force mac address before ifconfig up

Initializing the b44 MAC & PCI functional blocks in the controller must
occur inside init_one(). This will allow access to the MAC registers.
The controller was being powered up in b44_open() which would not allow
access to the registers before ifconfig was up.
Philip Kohlbecher found this bug.

Signed-off-by: Gary Zambrano <zambrano@broadcom.com>
drivers/net/b44.c