sdhci: Sanitize "sdhci-pci" properties for future qomification
commit79f21707898aaeebb070cb7301846562b77e6fbf
authorMarkus Armbruster <armbru@redhat.com>
Mon, 7 Dec 2015 15:55:09 +0000 (7 16:55 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 7 Dec 2015 17:13:10 +0000 (7 17:13 +0000)
tree0cfd391a422be62802dddb17806ece0a68dedf08
parenta616fb75c23d768abdc8688d4d6811d3d7eb03e4
sdhci: Sanitize "sdhci-pci" properties for future qomification

We currently fuse controller and card into a single device model, but
we intend qomify things properly and separate the two.  The properties
that really belong to the card would then have to somehow pass-through
to the card's properties.  To avoid that complication, either mark
them experimental or drop them.

Properties "capareg", "maxcurr" and the usual PCI device properties
belong to the controller.  Property "drive" belongs to the card;
rename it to "x-drive".  Properties "logical_block_size",
"physical_block_size", "min_io_size", "opt_io_size",
"discard_granularity" belong to the card, but have no effect; drop
them.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1449503710-3707-2-git-send-email-armbru@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/sd/sdhci.c
include/hw/sd/sdhci.h