Change the base id of tizen virtio devices to 30.
authorSangjin Kim <sangjin3.kim@samsung.com>
Thu, 11 Jul 2013 07:20:58 +0000 (16:20 +0900)
committerSangjin Kim <sangjin3.kim@samsung.com>
Thu, 11 Jul 2013 07:20:58 +0000 (16:20 +0900)
Change-Id: I48ebde8b407ee51c7ff62fd8678711c45667e400
Signed-off-by: Sangjin Kim <sangjin3.kim@samsung.com>
drivers/char/virtio-gl.c
include/linux/virtio_ids.h

index 380940fbe1ef692937851d63d1b5e435e9de0dba..ddcc75844de8f6f8c13de9e6723f4aee4442f64a 100755 (executable)
@@ -29,7 +29,7 @@
 #include <linux/virtio_ids.h>\r
 #include <linux/virtio_config.h>\r
 \r
-#define VIRTIO_ID_GL 6\r
+//#define VIRTIO_ID_GL 36 /* use "include/linux/virtio_ids.h" file instead */\r
 #define DEVICE_NAME "glmem"\r
 \r
 /* Define to use debugging checksums on transfers */\r
index f401735b2e331c2f565302ddcfe6dd33f35743f0..b2f851475a796b4f697c733a1239ea02f362d570 100644 (file)
 #define VIRTIO_ID_CONSOLE      3 /* virtio console */
 #define VIRTIO_ID_RNG          4 /* virtio ring */
 #define VIRTIO_ID_BALLOON      5 /* virtio balloon */
-#define VIRTIO_ID_GL           6 /* virtio usermem */
 #define VIRTIO_ID_RPMSG                7 /* virtio remote processor messaging */
 #define VIRTIO_ID_SCSI         8 /* virtio scsi */
 #define VIRTIO_ID_9P           9 /* 9p virtio console */
 
 #ifdef CONFIG_MARU
 /* Maru devices */
-#define VIRTIO_ID_TOUCHSCREEN  11 /* virtio touchscreen */
-#define VIRTIO_ID_KEYBOARD     12 /* virtio keyboard */
-#define VIRTIO_ID_ESM          13 /* virtio ESM */
-#define VIRTIO_ID_HWKEY                14 /* virtio hwkey */
+#define VIRTIO_ID_TOUCHSCREEN  31 /* virtio touchscreen */
+#define VIRTIO_ID_KEYBOARD             32 /* virtio keyboard */
+#define VIRTIO_ID_ESM                  33 /* virtio Emulator Status Monitor */
+#define VIRTIO_ID_HWKEY                        34 /* virtio hwkey */
+#define VIRTIO_ID_EVDI                 35 /* virtio emulator virtual device interface */
+#define VIRTIO_ID_GL                   36 /* virtio glmem */
 #endif
 
 #endif /* _LINUX_VIRTIO_IDS_H */