[PATCH] drivers: gpio: add virtio-gpio guest driver
Michael S. Tsirkin
mst at redhat.com
Sun Nov 29 15:11:42 EST 2020
On Fri, Nov 27, 2020 at 07:30:03PM +0100, Enrico Weigelt, metux IT consult wrote:
> diff --git a/include/uapi/linux/virtio_ids.h b/include/uapi/linux/virtio_ids.h
> index b052355ac7a3..85772c0bcb4b 100644
> --- a/include/uapi/linux/virtio_ids.h
> +++ b/include/uapi/linux/virtio_ids.h
> @@ -48,5 +48,6 @@
> #define VIRTIO_ID_FS 26 /* virtio filesystem */
> #define VIRTIO_ID_PMEM 27 /* virtio pmem */
> #define VIRTIO_ID_MAC80211_HWSIM 29 /* virtio mac80211-hwsim */
> +#define VIRTIO_ID_GPIO 30 /* virtio GPIO */
Pls remember to reserve the ID with the virtio TC
before using it in the driver. Thanks!
> #endif /* _LINUX_VIRTIO_IDS_H */
> --
> 2.11.0
More information about the linux-riscv
mailing list