From 182efd7df38a23e14294811db56fc45d8654713e Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 31 Mar 2009 17:02:52 +0100 Subject: [PATCH] passthrough: Update acpi_php_readb()'s comment This relates to chagnes introduced in "Allow any unused PCI device to be used for pass-through" [ ea4860c13aabe65622be97ae6796c3d646f499db ] Signed-off-by: Simon Horman --- hw/piix4acpi.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/hw/piix4acpi.c b/hw/piix4acpi.c index 4a361952..001f98df 100644 --- a/hw/piix4acpi.c +++ b/hw/piix4acpi.c @@ -219,12 +219,13 @@ static void acpi_dbg_writel(void *opaque, uint32_t addr, uint32_t val) } /* - * simple PCI hotplug controller IO + * simple PCI hotplug controller IO * ACPI_PHP_IO_ADDR + : - * 0 - the hotplug description: slot(|event(remove/add); - * 1 - 1st php slot ctr/sts reg - * 2 - 2nd php slot ctr/sts reg - * ...... + * 0 - the hotplug event + * 1 - the slot that has a hotplug event + * 2 - 1st php slot ctr/sts reg + * 3 - 2nd php slot ctr/sts reg + * ... */ static uint32_t acpi_php_readb(void *opaque, uint32_t addr) { -- 2.39.5