]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/virtio_pci.h
V4L/DVB (11111): dvb_dummy_fe: Fix compilation breakage
[linux-2.6-omap-h63xx.git] / include / linux / virtio_pci.h
index b3151659cf497872578d0f4b37da6577cf7d050b..cd0fd5d181a6f259e8e24f7fb12f107cd35a4515 100644 (file)
@@ -9,9 +9,8 @@
  * Authors:
  *  Anthony Liguori  <aliguori@us.ibm.com>
  *
- * This work is licensed under the terms of the GNU GPL, version 2 or later.
- * See the COPYING file in the top-level directory.
- *
+ * This header is BSD licensed so anyone can use the definitions to implement
+ * compatible drivers/servers.
  */
 
 #ifndef _LINUX_VIRTIO_PCI_H
 
 /* Virtio ABI version, this must match exactly */
 #define VIRTIO_PCI_ABI_VERSION         0
+
+/* How many bits to shift physical queue address written to QUEUE_PFN.
+ * 12 is historical, and due to x86 page size. */
+#define VIRTIO_PCI_QUEUE_ADDR_SHIFT    12
+
+/* The alignment to use between consumer and producer parts of vring.
+ * x86 pagesize again. */
+#define VIRTIO_PCI_VRING_ALIGN         4096
 #endif