ehci: switch to new-style memory ops
commit3e4f910c8d490a1490409a7e381dbbb229f9d272
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 6 Sep 2012 09:24:51 +0000 (6 11:24 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 12 Sep 2012 06:09:49 +0000 (12 08:09 +0200)
treeb3e5f19b90da388b31869827cd20d2286ea3f9e3
parent63587e31353b6652cadfcfb869f5692a2b69daeb
ehci: switch to new-style memory ops

Also register different memory regions for capabilities,
operational registers and port status registers.  Create
separate tracepoints for operational regs and port status
regs.  Ditch a bunch of sanity checks because the memory
core will do this for us now.

Offloading the byte, word and dword access handling to the
memory core also has the side effect of fixing ehci register
access on bigendian hosts.

Cc: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-ehci.c
trace-events