virtio_ids.h revision 267312
1256949Sganbold/*- 2266337Sian * This header is BSD licensed so anyone can use the definitions to implement 3256949Sganbold * compatible drivers/servers. 4256949Sganbold * 5256949Sganbold * Redistribution and use in source and binary forms, with or without 6256949Sganbold * modification, are permitted provided that the following conditions 7256949Sganbold * are met: 8256949Sganbold * 1. Redistributions of source code must retain the above copyright 9256949Sganbold * notice, this list of conditions and the following disclaimer. 10256949Sganbold * 2. Redistributions in binary form must reproduce the above copyright 11256949Sganbold * notice, this list of conditions and the following disclaimer in the 12256949Sganbold * documentation and/or other materials provided with the distribution. 13256949Sganbold * 3. Neither the name of IBM nor the names of its contributors 14256949Sganbold * may be used to endorse or promote products derived from this software 15256949Sganbold * without specific prior written permission. 16256949Sganbold * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 17256949Sganbold * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 18256949Sganbold * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 19256949Sganbold * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL IBM OR CONTRIBUTORS BE LIABLE 20256949Sganbold * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21256949Sganbold * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22256949Sganbold * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23256949Sganbold * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24256949Sganbold * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25256949Sganbold * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26256949Sganbold * SUCH DAMAGE. 27256949Sganbold * 28256949Sganbold * $FreeBSD: stable/10/sys/dev/virtio/virtio_ids.h 267312 2014-06-10 03:23:35Z bryanv $ 29256949Sganbold */ 30256949Sganbold 31256949Sganbold#ifndef _VIRTIO_IDS_H_ 32256949Sganbold#define _VIRTIO_IDS_H_ 33256949Sganbold 34256949Sganbold/* VirtIO device IDs. */ 35256949Sganbold#define VIRTIO_ID_NETWORK 0x01 36256949Sganbold#define VIRTIO_ID_BLOCK 0x02 37256949Sganbold#define VIRTIO_ID_CONSOLE 0x03 38256949Sganbold#define VIRTIO_ID_ENTROPY 0x04 39256949Sganbold#define VIRTIO_ID_BALLOON 0x05 40256949Sganbold#define VIRTIO_ID_IOMEMORY 0x06 41256949Sganbold#define VIRTIO_ID_SCSI 0x08 42256949Sganbold#define VIRTIO_ID_9P 0x09 43256949Sganbold 44256949Sganbold#endif /* _VIRTIO_IDS_H_ */ 45256949Sganbold