[PATCH] zd1211rw: Add LED support
authorUlrich Kunitz <kune@deine-taler.de>
Wed, 13 Sep 2006 01:42:38 +0000 (02:42 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Sep 2006 20:52:17 +0000 (16:52 -0400)
commit583afd1e4f25c87000c85ad7d03f5299fd4155dc
treee5ceeee697091a1b9a654ae3e6411cd4674a47c2
parentbc5f06a8aaa29a79c9da2cedb5b9779b8081289c
[PATCH] zd1211rw: Add LED support

This patch includes a big cleanup of the existing unused LED code,
and adds support for controlling the LED.

The link LED will blink if the device is not associated. The LED
switches between 2 seconds on and 1 second off. If the device is
associated the LED is switched on.

The link LED also indicates packet TX. I do a little bit more led
resetting than the vendor driver, but the device works now as
expected for single LED and double LED devices.

Signed-off-by: Ulrich Kunitz <kune@deine-taler.de>
Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/zd1211rw/zd_chip.c
drivers/net/wireless/zd1211rw/zd_chip.h
drivers/net/wireless/zd1211rw/zd_mac.c
drivers/net/wireless/zd1211rw/zd_mac.h