acer_acpi - Port over upstream work on AMW0 V2 and EC
commit30709ae580e664e730224d7f91e095e922253cf9
authorCarlos Corbacho <carlos@strangeworlds.co.uk>
Sat, 22 Dec 2007 23:40:19 +0000 (22 23:40 +0000)
committerCarlos Corbacho <carlos@strangeworlds.co.uk>
Sat, 22 Dec 2007 23:54:55 +0000 (22 23:54 +0000)
tree6c589227d1e6e26efaff7fc93ce084dc3aa0284b
parent3b3edba40399aae075f671074d0b43c9130acdf0
acer_acpi - Port over upstream work on AMW0 V2 and EC

The upstream acer-wmi work handles AMW0 devices via the WMID interface,
and not the old AMW0 one. Switch over to this, since it means we don't
need to keep track of as many EC quirks as possible.

On older AMW0 laptops, all of them seen so far have been confirmed to use
the same EC registers, so we'll unconditionally enable the old Aspire 5020
quirks for all AMW0 V1 laptops.

Future work for AMW0 V2 and WMID will include using WMI to detect what
hardware is available (e.g. bluetooth, and possibly also 3G) and also
detecting the maximum brightness (reducing further the EC quirks we need
to store) (Autodetection is not practical on AMW0 V1, since this requires
poking at INT 15).
acer_acpi.c