summaryrefslogtreecommitdiffstats
path: root/include/linux/virtio_caif.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/virtio_caif.h')
-rw-r--r--include/linux/virtio_caif.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/linux/virtio_caif.h b/include/linux/virtio_caif.h
new file mode 100644
index 000000000..ea7224795
--- /dev/null
+++ b/include/linux/virtio_caif.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) ST-Ericsson AB 2012
+ * Author: Sjur Brændeland <sjur.brandeland@stericsson.com>
+ *
+ * This header is BSD licensed so
+ * anyone can use the definitions to implement compatible remote processors
+ */
+
+#ifndef VIRTIO_CAIF_H
+#define VIRTIO_CAIF_H
+
+#include <linux/types.h>
+struct virtio_caif_transf_config {
+ __virtio16 headroom;
+ __virtio16 tailroom;
+ __virtio32 mtu;
+ u8 reserved[4];
+};
+
+struct virtio_caif_config {
+ struct virtio_caif_transf_config uplink, downlink;
+ u8 reserved[8];
+};
+#endif