virtio: clarify that ABI is usable by any implementations

We want others to implement and use virtio, so it makes sense to BSD
license the non-__KERNEL__ parts of the headers to make this crystal
clear.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Mark McLoughlin <markmc@redhat.com>
Acked-by: Ryan Harper <ryanh@us.ibm.com>
Acked-by: Eric Van Hensbergen <ericvh@gmail.com>
Acked-by: Anthony Liguori <aliguori@us.ibm.com>
---
 include/linux/virtio_9p.h      |    2 ++
 include/linux/virtio_balloon.h |    2 ++
 include/linux/virtio_blk.h     |    2 ++
 include/linux/virtio_config.h  |    3 +++
 include/linux/virtio_console.h |    2 ++
 include/linux/virtio_net.h     |    2 ++
 include/linux/virtio_pci.h     |    5 ++---
 include/linux/virtio_rng.h     |    2 ++
 8 files changed, 17 insertions(+), 3 deletions(-)

diff -r 6557623d0a9c include/linux/virtio_9p.h
--- a/include/linux/virtio_9p.h	Wed Jul 09 12:01:31 2008 +1000
+++ b/include/linux/virtio_9p.h	Wed Jul 09 16:16:35 2008 +1000
@@ -1,5 +1,7 @@
 #ifndef _LINUX_VIRTIO_9P_H
 #define _LINUX_VIRTIO_9P_H
+/* This header is BSD licensed so anyone can use the definitions to implement
+ * compatible drivers/servers. */
 #include <linux/virtio_config.h>
 
 /* The ID for virtio console */
diff -r 6557623d0a9c include/linux/virtio_balloon.h
--- a/include/linux/virtio_balloon.h	Wed Jul 09 12:01:31 2008 +1000
+++ b/include/linux/virtio_balloon.h	Wed Jul 09 16:16:35 2008 +1000
@@ -1,5 +1,7 @@
 #ifndef _LINUX_VIRTIO_BALLOON_H
 #define _LINUX_VIRTIO_BALLOON_H
+/* This header is BSD licensed so anyone can use the definitions to implement
+ * compatible drivers/servers. */
 #include <linux/virtio_config.h>
 
 /* The ID for virtio_balloon */
diff -r 6557623d0a9c include/linux/virtio_blk.h
--- a/include/linux/virtio_blk.h	Wed Jul 09 12:01:31 2008 +1000
+++ b/include/linux/virtio_blk.h	Wed Jul 09 16:16:35 2008 +1000
@@ -1,5 +1,7 @@
 #ifndef _LINUX_VIRTIO_BLK_H
 #define _LINUX_VIRTIO_BLK_H
+/* This header is BSD licensed so anyone can use the definitions to implement
+ * compatible drivers/servers. */
 #include <linux/virtio_config.h>
 
 /* The ID for virtio_block */
diff -r 6557623d0a9c include/linux/virtio_config.h
--- a/include/linux/virtio_config.h	Wed Jul 09 12:01:31 2008 +1000
+++ b/include/linux/virtio_config.h	Wed Jul 09 16:16:35 2008 +1000
@@ -1,5 +1,8 @@
 #ifndef _LINUX_VIRTIO_CONFIG_H
 #define _LINUX_VIRTIO_CONFIG_H
+/* This header, excluding the #ifdef __KERNEL__ part, is BSD licensed so
+ * anyone can use the definitions to implement compatible drivers/servers. */
+
 /* Virtio devices use a standardized configuration space to define their
  * features and pass configuration information, but each implementation can
  * store and access that space differently. */
diff -r 6557623d0a9c include/linux/virtio_console.h
--- a/include/linux/virtio_console.h	Wed Jul 09 12:01:31 2008 +1000
+++ b/include/linux/virtio_console.h	Wed Jul 09 16:16:35 2008 +1000
@@ -1,6 +1,8 @@
 #ifndef _LINUX_VIRTIO_CONSOLE_H
 #define _LINUX_VIRTIO_CONSOLE_H
 #include <linux/virtio_config.h>
+/* This header, excluding the #ifdef __KERNEL__ part, is BSD licensed so
+ * anyone can use the definitions to implement compatible drivers/servers. */
 
 /* The ID for virtio console */
 #define VIRTIO_ID_CONSOLE	3
diff -r 6557623d0a9c include/linux/virtio_net.h
--- a/include/linux/virtio_net.h	Wed Jul 09 12:01:31 2008 +1000
+++ b/include/linux/virtio_net.h	Wed Jul 09 16:16:35 2008 +1000
@@ -1,5 +1,7 @@
 #ifndef _LINUX_VIRTIO_NET_H
 #define _LINUX_VIRTIO_NET_H
+/* This header is BSD licensed so anyone can use the definitions to implement
+ * compatible drivers/servers. */
 #include <linux/virtio_config.h>
 
 /* The ID for virtio_net */
diff -r 6557623d0a9c include/linux/virtio_pci.h
--- a/include/linux/virtio_pci.h	Wed Jul 09 12:01:31 2008 +1000
+++ b/include/linux/virtio_pci.h	Wed Jul 09 16:16:35 2008 +1000
@@ -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
diff -r 6557623d0a9c include/linux/virtio_rng.h
--- a/include/linux/virtio_rng.h	Wed Jul 09 12:01:31 2008 +1000
+++ b/include/linux/virtio_rng.h	Wed Jul 09 16:16:35 2008 +1000
@@ -1,5 +1,7 @@
 #ifndef _LINUX_VIRTIO_RNG_H
 #define _LINUX_VIRTIO_RNG_H
+/* This header is BSD licensed so anyone can use the definitions to implement
+ * compatible drivers/servers. */
 #include <linux/virtio_config.h>
 
 /* The ID for virtio_rng */
