OSDN Git Service

applesmc: fix port i/o access width
authorGabriel L. Somlo <gsomlo@gmail.com>
Fri, 16 Jun 2017 18:55:16 +0000 (14:55 -0400)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 23 Jun 2017 11:35:01 +0000 (13:35 +0200)
commit1b8274d4f926836a4c773c310318e6039c4794a1
treeea6bac47b000fc87f5248a238a37ec3f729c7199
parent9e507d7e7769e3bb9a8b1a713d7bb20e16757469
applesmc: fix port i/o access width

Set access width of all AppleSMC i/o regions to 1 byte, since they
all represent 8-bit-wide ports.

Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
Message-id: 1497639316-22202-4-git-send-email-gsomlo@gmail.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/misc/applesmc.c