18c2ecf20Sopenharmony_ci#ifndef _LINUX_VIRTIO_IDS_H
28c2ecf20Sopenharmony_ci#define _LINUX_VIRTIO_IDS_H
38c2ecf20Sopenharmony_ci/*
48c2ecf20Sopenharmony_ci * Virtio IDs
58c2ecf20Sopenharmony_ci *
68c2ecf20Sopenharmony_ci * This header is BSD licensed so anyone can use the definitions to implement
78c2ecf20Sopenharmony_ci * compatible drivers/servers.
88c2ecf20Sopenharmony_ci *
98c2ecf20Sopenharmony_ci * Redistribution and use in source and binary forms, with or without
108c2ecf20Sopenharmony_ci * modification, are permitted provided that the following conditions
118c2ecf20Sopenharmony_ci * are met:
128c2ecf20Sopenharmony_ci * 1. Redistributions of source code must retain the above copyright
138c2ecf20Sopenharmony_ci *    notice, this list of conditions and the following disclaimer.
148c2ecf20Sopenharmony_ci * 2. Redistributions in binary form must reproduce the above copyright
158c2ecf20Sopenharmony_ci *    notice, this list of conditions and the following disclaimer in the
168c2ecf20Sopenharmony_ci *    documentation and/or other materials provided with the distribution.
178c2ecf20Sopenharmony_ci * 3. Neither the name of IBM nor the names of its contributors
188c2ecf20Sopenharmony_ci *    may be used to endorse or promote products derived from this software
198c2ecf20Sopenharmony_ci *    without specific prior written permission.
208c2ecf20Sopenharmony_ci * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND
218c2ecf20Sopenharmony_ci * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
228c2ecf20Sopenharmony_ci * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
238c2ecf20Sopenharmony_ci * ARE DISCLAIMED.  IN NO EVENT SHALL IBM OR CONTRIBUTORS BE LIABLE
248c2ecf20Sopenharmony_ci * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
258c2ecf20Sopenharmony_ci * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
268c2ecf20Sopenharmony_ci * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
278c2ecf20Sopenharmony_ci * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
288c2ecf20Sopenharmony_ci * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
298c2ecf20Sopenharmony_ci * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
308c2ecf20Sopenharmony_ci * SUCH DAMAGE. */
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ci#define VIRTIO_ID_NET		1 /* virtio net */
338c2ecf20Sopenharmony_ci#define VIRTIO_ID_BLOCK		2 /* virtio block */
348c2ecf20Sopenharmony_ci#define VIRTIO_ID_CONSOLE	3 /* virtio console */
358c2ecf20Sopenharmony_ci#define VIRTIO_ID_RNG		4 /* virtio rng */
368c2ecf20Sopenharmony_ci#define VIRTIO_ID_BALLOON	5 /* virtio balloon */
378c2ecf20Sopenharmony_ci#define VIRTIO_ID_RPMSG		7 /* virtio remote processor messaging */
388c2ecf20Sopenharmony_ci#define VIRTIO_ID_SCSI		8 /* virtio scsi */
398c2ecf20Sopenharmony_ci#define VIRTIO_ID_9P		9 /* 9p virtio console */
408c2ecf20Sopenharmony_ci#define VIRTIO_ID_RPROC_SERIAL 11 /* virtio remoteproc serial link */
418c2ecf20Sopenharmony_ci#define VIRTIO_ID_CAIF	       12 /* Virtio caif */
428c2ecf20Sopenharmony_ci#define VIRTIO_ID_GPU          16 /* virtio GPU */
438c2ecf20Sopenharmony_ci#define VIRTIO_ID_INPUT        18 /* virtio input */
448c2ecf20Sopenharmony_ci#define VIRTIO_ID_VSOCK        19 /* virtio vsock transport */
458c2ecf20Sopenharmony_ci#define VIRTIO_ID_CRYPTO       20 /* virtio crypto */
468c2ecf20Sopenharmony_ci#define VIRTIO_ID_IOMMU        23 /* virtio IOMMU */
478c2ecf20Sopenharmony_ci#define VIRTIO_ID_MEM          24 /* virtio mem */
488c2ecf20Sopenharmony_ci#define VIRTIO_ID_FS           26 /* virtio filesystem */
498c2ecf20Sopenharmony_ci#define VIRTIO_ID_PMEM         27 /* virtio pmem */
508c2ecf20Sopenharmony_ci#define VIRTIO_ID_MAC80211_HWSIM 29 /* virtio mac80211-hwsim */
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ci#endif /* _LINUX_VIRTIO_IDS_H */
53