From 79f21707898aaeebb070cb7301846562b77e6fbf Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Mon, 7 Dec 2015 16:55:09 +0100 Subject: 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 Reviewed-by: Peter Maydell Message-id: 1449503710-3707-2-git-send-email-armbru@redhat.com Signed-off-by: Peter Maydell --- include/hw/sd/sdhci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/hw/sd/sdhci.h b/include/hw/sd/sdhci.h index 9b3031fb81..e78d938570 100644 --- a/include/hw/sd/sdhci.h +++ b/include/hw/sd/sdhci.h @@ -39,7 +39,7 @@ typedef struct SDHCIState { }; SDState *card; MemoryRegion iomem; - BlockConf conf; + BlockBackend *blk; QEMUTimer *insert_timer; /* timer for 'changing' sd card. */ QEMUTimer *transfer_timer; -- cgit v1.2.3