Don't set sc_ec until after the EC registers are mapped, but before we
authorkettenis <kettenis@openbsd.org>
Thu, 29 Jul 2010 18:32:26 +0000 (18:32 +0000)
committerkettenis <kettenis@openbsd.org>
Thu, 29 Jul 2010 18:32:26 +0000 (18:32 +0000)
commit2e9b22c877809f09551587aaa7f652d79ed6f88d
tree3ce729f3efe40633289c2d5d6c82b8bddb377958
parent1944d64d2b7c62cb3901fd2dc0dbd42319cde836
Don't set sc_ec until after the EC registers are mapped, but before we
execute the _REG method to make the EC available to the AML.

ok marco@
sys/dev/acpi/acpiec.c