linux/drivers/net/usb
Johannes Berg 19d337dff9 rfkill: rewrite
This patch completely rewrites the rfkill core to address
the following deficiencies:

 * all rfkill drivers need to implement polling where necessary
   rather than having one central implementation

 * updating the rfkill state cannot be done from arbitrary
   contexts, forcing drivers to use schedule_work and requiring
   lots of code

 * rfkill drivers need to keep track of soft/hard blocked
   internally -- the core should do this

 * the rfkill API has many unexpected quirks, for example being
   asymmetric wrt. alloc/free and register/unregister

 * rfkill can call back into a driver from within a function the
   driver called -- this is prone to deadlocks and generally
   should be avoided

 * rfkill-input pointlessly is a separate module

 * drivers need to #ifdef rfkill functions (unless they want to
   depend on or select RFKILL) -- rfkill should provide inlines
   that do nothing if it isn't compiled in

 * the rfkill structure is not opaque -- drivers need to initialise
   it correctly (lots of sanity checking code required) -- instead
   force drivers to pass the right variables to rfkill_alloc()

 * the documentation is hard to read because it always assumes the
   reader is completely clueless and contains way TOO MANY CAPS

 * the rfkill code needlessly uses a lot of locks and atomic
   operations in locked sections

 * fix LED trigger to actually change the LED when the radio state
   changes -- this wasn't done before

Tested-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> [thinkpad]
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-06-03 14:06:13 -04:00
..
asix.c usbnet: convert asix driver to net_device_ops 2009-03-21 19:41:02 -07:00
catc.c usbnet: convert catc device to net_device_ops 2009-03-21 19:40:58 -07:00
cdc_eem.c usbnet: CDC EEM support (v5) 2009-05-04 12:01:43 -07:00
cdc_ether.c export usbnet_get_ethernet_addr from usbnet and fixed cdc_ether.c 2009-04-21 01:55:59 -07:00
cdc_subset.c USB: build fix 2008-05-20 14:14:15 -07:00
dm9601.c dm9601: trivial comment fixes 2009-05-17 21:03:41 -07:00
gl620a.c Move usbnet.h and rndis_host.h to include/linux/usb 2008-01-31 19:27:00 -08:00
hso.c rfkill: rewrite 2009-06-03 14:06:13 -04:00
int51x1.c usb driver for intellon int51x1 based PLC like devolo dlan duo 2009-04-21 01:55:59 -07:00
kaweth.c kaweth: Clean up code 2009-04-13 15:44:35 -07:00
Kconfig Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-05-08 02:48:30 -07:00
Makefile Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-05-08 02:48:30 -07:00
mcs7830.c usbnet: convert msc7830 driver to net_device_ops 2009-03-21 19:55:33 -07:00
net1080.c Move usbnet.h and rndis_host.h to include/linux/usb 2008-01-31 19:27:00 -08:00
pegasus.c pegasus: Handle disconnect error code correctly. 2009-04-17 01:40:19 -07:00
pegasus.h
plusb.c Move usbnet.h and rndis_host.h to include/linux/usb 2008-01-31 19:27:00 -08:00
rndis_host.c usbnet: convert rndis driver to net_device_ops 2009-03-21 19:55:35 -07:00
rtl8150.c usbnet: ratelimit warning messages invoked from callback handler 2009-05-29 22:13:58 -07:00
smsc95xx.c smsc95xx: strip ethernet fcs (crc) on receive path 2009-05-17 21:03:41 -07:00
smsc95xx.h smsc95xx: configure LED outputs 2009-05-01 15:27:02 -07:00
usbnet.c export usbnet_get_ethernet_addr from usbnet and fixed cdc_ether.c 2009-04-21 01:55:59 -07:00
zaurus.c zaurus: add usb id for motomagx phones 2009-03-01 20:48:08 -08:00