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