xref: /freebsd/sys/contrib/xen/hvm/pvdrivers.h (revision 3a9fd824)
13a9fd824SRoger Pau Monné /*
23a9fd824SRoger Pau Monné  * pvdrivers.h: Register of PV drivers product numbers.
33a9fd824SRoger Pau Monné  * Copyright (c) 2012, Citrix Systems Inc.
43a9fd824SRoger Pau Monné  *
53a9fd824SRoger Pau Monné  * Permission is hereby granted, free of charge, to any person obtaining a copy
63a9fd824SRoger Pau Monné  * of this software and associated documentation files (the "Software"), to
73a9fd824SRoger Pau Monné  * deal in the Software without restriction, including without limitation the
83a9fd824SRoger Pau Monné  * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
93a9fd824SRoger Pau Monné  * sell copies of the Software, and to permit persons to whom the Software is
103a9fd824SRoger Pau Monné  * furnished to do so, subject to the following conditions:
113a9fd824SRoger Pau Monné  *
123a9fd824SRoger Pau Monné  * The above copyright notice and this permission notice shall be included in
133a9fd824SRoger Pau Monné  * all copies or substantial portions of the Software.
143a9fd824SRoger Pau Monné  *
153a9fd824SRoger Pau Monné  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
163a9fd824SRoger Pau Monné  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
173a9fd824SRoger Pau Monné  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
183a9fd824SRoger Pau Monné  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
193a9fd824SRoger Pau Monné  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
203a9fd824SRoger Pau Monné  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
213a9fd824SRoger Pau Monné  * DEALINGS IN THE SOFTWARE.
223a9fd824SRoger Pau Monné  */
233a9fd824SRoger Pau Monné 
243a9fd824SRoger Pau Monné #ifndef _XEN_PUBLIC_PVDRIVERS_H_
253a9fd824SRoger Pau Monné #define _XEN_PUBLIC_PVDRIVERS_H_
263a9fd824SRoger Pau Monné 
273a9fd824SRoger Pau Monné /*
283a9fd824SRoger Pau Monné  * This is the master registry of product numbers for
293a9fd824SRoger Pau Monné  * PV drivers.
303a9fd824SRoger Pau Monné  * If you need a new product number allocating, please
313a9fd824SRoger Pau Monné  * post to xen-devel@lists.xenproject.org.  You should NOT use
323a9fd824SRoger Pau Monné  * a product number without allocating one.
333a9fd824SRoger Pau Monné  * If you maintain a separate versioning and distribution path
343a9fd824SRoger Pau Monné  * for PV drivers you should have a separate product number so
353a9fd824SRoger Pau Monné  * that your drivers can be separated from others.
363a9fd824SRoger Pau Monné  *
373a9fd824SRoger Pau Monné  * During development, you may use the product ID to
383a9fd824SRoger Pau Monné  * indicate a driver which is yet to be released.
393a9fd824SRoger Pau Monné  */
403a9fd824SRoger Pau Monné 
413a9fd824SRoger Pau Monné #define PVDRIVERS_PRODUCT_LIST(EACH)                               \
423a9fd824SRoger Pau Monné         EACH("xensource-windows",       0x0001) /* Citrix */       \
433a9fd824SRoger Pau Monné         EACH("gplpv-windows",           0x0002) /* James Harper */ \
443a9fd824SRoger Pau Monné         EACH("linux",                   0x0003)                    \
453a9fd824SRoger Pau Monné         EACH("xenserver-windows-v7.0+", 0x0004) /* Citrix */       \
463a9fd824SRoger Pau Monné         EACH("xenserver-windows-v7.2+", 0x0005) /* Citrix */       \
473a9fd824SRoger Pau Monné         EACH("experimental",            0xffff)
483a9fd824SRoger Pau Monné 
493a9fd824SRoger Pau Monné #endif /* _XEN_PUBLIC_PVDRIVERS_H_ */
50