mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 08:26:29 +00:00 
			
		
		
		
	 674bfc23c5
			
		
	
	
		674bfc23c5
		
	
	
	
	
		
			
			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>
		
			
				
	
	
		
			13 lines
		
	
	
		
			376 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			376 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #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 */
 | |
| #define VIRTIO_ID_9P	9
 | |
| /* Maximum number of virtio channels per partition (1 for now) */
 | |
| #define MAX_9P_CHAN	1
 | |
| 
 | |
| #endif /* _LINUX_VIRTIO_9P_H */
 |