diff options
author | Alan Jenkins <alan-jenkins@tuffmail.co.uk> | 2010-02-22 16:03:58 +0000 |
---|---|---|
committer | Corentin Chary <corentincj@iksaif.net> | 2010-02-28 19:30:57 +0100 |
commit | bc9d24a3aeb1532fc3e234907a8b6d671f7ed68f (patch) | |
tree | 621db75c68cdf044e79b13020c20a94810f51335 /drivers/video/fbsysfs.c | |
parent | ced69c59811f05b2f8378467cbb82ac6ed3c6a5a (diff) |
eeepc-laptop: check wireless hotplug events
Before we mark the wireless device as unplugged, check PCI config space
to see whether the wireless device is really disabled (and vice versa).
This works around newer models which don't want the hotplug code, where
we end up disabling the wired network device.
My old 701 still works correctly with this. I can also simulate an
afflicted model by changing the hardcoded PCI bus/slot number in the
driver, and it seems to work nicely (although it is a bit noisy).
In future this type of hotplug support will be implemented by the PCI
core. The existing blacklist and the new warning message will be
removed at that point.
Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Diffstat (limited to 'drivers/video/fbsysfs.c')
0 files changed, 0 insertions, 0 deletions