diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2017-07-18 12:00:33 +1000 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-07-25 11:14:25 +1000 |
commit | 18f2330ef548be5f67342c01817f096c34ab90af (patch) | |
tree | 03ebc9b50ce8f1fb518fb0b7a005667da3e8d86d /hw/ppc | |
parent | b5a74cd81d76cb467552f38f2b39520d07c65ea2 (diff) | |
download | qemu-18f2330ef548be5f67342c01817f096c34ab90af.zip qemu-18f2330ef548be5f67342c01817f096c34ab90af.tar.gz qemu-18f2330ef548be5f67342c01817f096c34ab90af.tar.bz2 |
spapr_pci: Fix obsolete comment about MSIX encoding in addr/data
f1c2dc7c866a "spapr-pci: rework MSI/MSIX" (07/2013) changed MSIX encoding
but forgot to change the comment so this changes it.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/ppc')
-rw-r--r-- | hw/ppc/spapr_pci.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/ppc/spapr_pci.c b/hw/ppc/spapr_pci.c index 6ecdf29..d84abf1 100644 --- a/hw/ppc/spapr_pci.c +++ b/hw/ppc/spapr_pci.c @@ -723,9 +723,7 @@ static PCIINTxRoute spapr_route_intx_pin_to_irq(void *opaque, int pin) /* * MSI/MSIX memory region implementation. * The handler handles both MSI and MSIX. - * For MSI-X, the vector number is encoded as a part of the address, - * data is set to 0. - * For MSI, the vector number is encoded in least bits in data. + * The vector number is encoded in least bits in data. */ static void spapr_msi_write(void *opaque, hwaddr addr, uint64_t data, unsigned size) |