[PATCH] bcm43xx: init routine rewrite
commit58e5528ee464d38040b9489e10033c9387a10d56
authorMichael Buesch <mb@bu3sch.de>
Sat, 8 Jul 2006 20:02:18 +0000 (8 22:02 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 27 Jul 2006 22:19:18 +0000 (27 18:19 -0400)
tree58023ac8bf79757e37a4d05ce7fa63fb3f2388b9
parent3234faa8abe0c3d6da12cc4a38ce790134c92564
[PATCH] bcm43xx: init routine rewrite

Rewrite of the bcm43xx initialization routines.
This fixes several issues:
* up-down-up-down-up... stale data issue
  (May fix some DHCP issues)
* Fix the init vs IRQ handler race (and remove the workaround)
* Fix init for cards with multiple cores (APHY)
  As softmac has no internal PHY handling (unlike dscape),
  this adds the file "phymode" to sysfs.
  The active PHY can be selected by writing either a, b or g
  to this file. Current PHY can be determined by reading from it.
* Fix the controller restart code.
  Controller restart can now also be triggered through
  echo 1 > /debug/bcm43xx/ethX/restart

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/bcm43xx/bcm43xx.h
drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c
drivers/net/wireless/bcm43xx/bcm43xx_debugfs.h
drivers/net/wireless/bcm43xx/bcm43xx_main.c
drivers/net/wireless/bcm43xx/bcm43xx_main.h
drivers/net/wireless/bcm43xx/bcm43xx_sysfs.c