OSDN Git Service

tests: Adjust tco-test to use qpci_legacy_iomap()
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 19 Oct 2016 10:49:39 +0000 (21:49 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 27 Oct 2016 22:38:27 +0000 (09:38 +1100)
commit9ff50be2ffb3c116811cfc63dd1fa0ef8c4a9c75
treef3cb38fbb6c85d90c2708b2989a7a37ab5a216a0
parenta7b85b60623a862e2c55d5a6cd2e17f5fc26b256
tests: Adjust tco-test to use qpci_legacy_iomap()

Avoid tco-test making assumptions about the internal format of the address
tokens passed to PCI IO accessors, by using the new qpci_legacy_iomap()
function.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
tests/tco-test.c