From: Corentin Chary Date: Fri, 26 Jan 2007 13:04:40 +0000 (+0100) Subject: asus-laptop: add bluetooth and wlan support X-Git-Tag: v2.6.21-rc1~92^2~32^2^2~4^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4564de172dcdce641c0d6c689e79e95b5f6bee2c;p=pandora-kernel.git asus-laptop: add bluetooth and wlan support WLED and BLED are not handled like other leds (MLED, etc ..), because sometime they also control the wlan/bluetooth device. If the method for wireless_status is found, it's used to get the status, otherwise hotk->status is used. We also use the HWRS method, which tell if the bluetooth/wlan device is present or not. This patch show why we need a ASUS_SET_DEVICE_ATTR macro : if there is a bluetooth device, /sys/dev.../asus-laptop/bluetooth is usable, else it's not but it's clean. Signed-off-by: Corentin Chary Signed-off-by: Len Brown --- Reading git-diff-tree failed