Define VIRTIO_ID_VENDOR with the proposed device ID value 52 for generic vendor-specific VirtIO devices. This allows vendor-specific functions to share one VirtIO device ID and be distinguished using their vendor ID and platform description.
The value is proposed for VirtIO TC allocation and must not be merged until the ID is formally allocated. The DCP function driver should match the generic device ID together with Qualcomm vendor identification and the DT-described transport. Signed-off-by: Jayant Shekhar <[email protected]> --- include/uapi/linux/virtio_ids.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/virtio_ids.h b/include/uapi/linux/virtio_ids.h index f9056af0c622..9a8b6a6a03a4 100644 --- a/include/uapi/linux/virtio_ids.h +++ b/include/uapi/linux/virtio_ids.h @@ -70,6 +70,7 @@ #define VIRTIO_ID_GPIO 41 /* virtio gpio */ #define VIRTIO_ID_SPI 45 /* virtio spi */ #define VIRTIO_ID_MEDIA 48 /* virtio media */ +#define VIRTIO_ID_VENDOR 52 /* virtio vendor-specific device */ /* * Virtio Transitional IDs -- 2.43.0
