]> xenbits.xen.org Git - xenclient/ioemu.git/commit
passthrough: Register dpci_infos.php_devs.pt_dev in a common location
authorIan Jackson <ian.jackson@eu.citrix.com>
Wed, 25 Mar 2009 11:35:42 +0000 (11:35 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 25 Mar 2009 11:35:42 +0000 (11:35 +0000)
commit6dee1ba50e3b9d7516d0d022244033849a94c893
tree6a83a113d4ebcad47ddc1bd368b1d403b4554bd2
parenta81434538a8c7f6baf764ae57cba710ca6c75f69
passthrough: Register dpci_infos.php_devs.pt_dev in a common location

Currently power_on_php_slot() sets dpci_infos.php_devs[i].pt_dev itself
after the call to register_real_device(). While pt_init relies on
power_on_php_slot() to set this pointer.

It seems sensible to use the same behaviour for both callers.

There are no other callers of register_real_device()

Signed-off-by: Simon Horman <horms@verge.net.au>
hw/pass-through.c