xref: /freebsd/sys/contrib/xen/hvm/pvdrivers.h (revision 4543ef516683042d46f3bd3bb8a4f3f746e00499)
1 /*
2  * pvdrivers.h: Register of PV drivers product numbers.
3  * Copyright (c) 2012, Citrix Systems Inc.
4  *
5  * Permission is hereby granted, free of charge, to any person obtaining a copy
6  * of this software and associated documentation files (the "Software"), to
7  * deal in the Software without restriction, including without limitation the
8  * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
9  * sell copies of the Software, and to permit persons to whom the Software is
10  * furnished to do so, subject to the following conditions:
11  *
12  * The above copyright notice and this permission notice shall be included in
13  * all copies or substantial portions of the Software.
14  *
15  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21  * DEALINGS IN THE SOFTWARE.
22  */
23 
24 #ifndef _XEN_PUBLIC_PVDRIVERS_H_
25 #define _XEN_PUBLIC_PVDRIVERS_H_
26 
27 /*
28  * This is the master registry of product numbers for
29  * PV drivers.
30  * If you need a new product number allocating, please
31  * post to xen-devel@lists.xenproject.org.  You should NOT use
32  * a product number without allocating one.
33  * If you maintain a separate versioning and distribution path
34  * for PV drivers you should have a separate product number so
35  * that your drivers can be separated from others.
36  *
37  * During development, you may use the product ID to
38  * indicate a driver which is yet to be released.
39  */
40 
41 #define PVDRIVERS_PRODUCT_LIST(EACH)                               \
42         EACH("xensource-windows",       0x0001) /* Citrix */       \
43         EACH("gplpv-windows",           0x0002) /* James Harper */ \
44         EACH("linux",                   0x0003)                    \
45         EACH("xenserver-windows-v7.0+", 0x0004) /* Citrix */       \
46         EACH("xenserver-windows-v7.2+", 0x0005) /* Citrix */       \
47         EACH("experimental",            0xffff)
48 
49 #endif /* _XEN_PUBLIC_PVDRIVERS_H_ */
50