]> Git Repo - linux.git/commitdiff
um: virt-pci: fix uapi documentation
authorJohannes Berg <[email protected]>
Tue, 17 Aug 2021 15:53:29 +0000 (17:53 +0200)
committerRichard Weinberger <[email protected]>
Thu, 26 Aug 2021 20:28:03 +0000 (22:28 +0200)
The identifier names in the documentation here didn't match
the real ones, and the reserved was missing. Fix that.

Reported-by: Bjorn Helgaas <[email protected]>
Fixes: 68f5d3f3b654 ("um: add PCI over virtio emulation driver")
Signed-off-by: Johannes Berg <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
include/uapi/linux/virtio_pcidev.h

index 89daa88bcfef549c31544f4f9349acde9d9ef988..668b07ce515bfff2a215e992731aa44a8a3a7e79 100644 (file)
@@ -9,13 +9,14 @@
 
 /**
  * enum virtio_pcidev_ops - virtual PCI device operations
+ * @VIRTIO_PCIDEV_OP_RESERVED: reserved to catch errors
  * @VIRTIO_PCIDEV_OP_CFG_READ: read config space, size is 1, 2, 4 or 8;
  *     the @data field should be filled in by the device (in little endian).
  * @VIRTIO_PCIDEV_OP_CFG_WRITE: write config space, size is 1, 2, 4 or 8;
  *     the @data field contains the data to write (in little endian).
- * @VIRTIO_PCIDEV_OP_BAR_READ: read BAR mem/pio, size can be variable;
+ * @VIRTIO_PCIDEV_OP_MMIO_READ: read BAR mem/pio, size can be variable;
  *     the @data field should be filled in by the device (in little endian).
- * @VIRTIO_PCIDEV_OP_BAR_WRITE: write BAR mem/pio, size can be variable;
+ * @VIRTIO_PCIDEV_OP_MMIO_WRITE: write BAR mem/pio, size can be variable;
  *     the @data field contains the data to write (in little endian).
  * @VIRTIO_PCIDEV_OP_MMIO_MEMSET: memset MMIO, size is variable but
  *     the @data field only has one byte (unlike @VIRTIO_PCIDEV_OP_MMIO_WRITE)
This page took 0.065458 seconds and 4 git commands to generate.