cpmac bugfixes and enhancements
authorMatteo Croce <matteo@openwrt.org>
Tue, 13 May 2008 22:58:32 +0000 (00:58 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 22 May 2008 10:20:02 +0000 (06:20 -0400)
commitf917d58031fce6dfd7cea71259ea6a2b663ec813
tree91c2f4d5273efb1a86bccd94b08559ab00973933
parentf47e81fc36371a2f5e2b9792b6a8c56a4564ebbe
cpmac bugfixes and enhancements

* Resolve some locking issues using atomic_inc/atomic_dec
* move status code in cpmac_check_status
* unmark the BROKEN flag in Kconfig
* move code which should have been in platform code in
  arch/mips/ar7/platform.c
* fixed an IRQ storm which lets the kernel hang
* fixed a double call to netif_start_queue which causes a kernel panic
* don't fail to register the PHY, works on many devices now

Signed-off-by: Matteo Croce <matteo@openwrt.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/cpmac.c