From 47fa55eef99155a6dd44119eb6c5a8903787e461 Mon Sep 17 00:00:00 2001 From: "syeon.hwang" Date: Wed, 12 Dec 2012 17:04:04 +0900 Subject: [PATCH] virtio-esm: First introduce of virtio-esm Introduce "Maru VirtIO EmulatorStatusMedium" for represent boot up progress. Signed-off-by: SeokYeon Hwang --- arch/x86/configs/i386_tizen_emul_defconfig | 1 + drivers/maru/Kconfig | 4 ++++ drivers/maru/Makefile | 1 + include/linux/virtio_ids.h | 1 + 4 files changed, 7 insertions(+) diff --git a/arch/x86/configs/i386_tizen_emul_defconfig b/arch/x86/configs/i386_tizen_emul_defconfig index c81834e9bedb..98f69510a0a8 100644 --- a/arch/x86/configs/i386_tizen_emul_defconfig +++ b/arch/x86/configs/i386_tizen_emul_defconfig @@ -2777,6 +2777,7 @@ CONFIG_MARU_POWER_SUPPLY=y CONFIG_MARU_USB_MASS_STORAGE=y CONFIG_MARU_USB_MODE=y CONFIG_MARU_VIRTIO_KEYBOARD=y +CONFIG_MARU_VIRTIO_ESM=y # # Firmware Drivers diff --git a/drivers/maru/Kconfig b/drivers/maru/Kconfig index c51aa27c57d4..1bd2a62f955d 100644 --- a/drivers/maru/Kconfig +++ b/drivers/maru/Kconfig @@ -59,3 +59,7 @@ config MARU_USB_MODE config MARU_VIRTIO_KEYBOARD tristate "MARU VirtIO Keyboard Driver" depends on MARU != n + +config MARU_VIRTIO_ESM + tristate "MARU VirtIO Emulator Status Medium Driver" + depends on MARU != n diff --git a/drivers/maru/Makefile b/drivers/maru/Makefile index 8ae7d3c1d328..6fac6dc1a6e1 100644 --- a/drivers/maru/Makefile +++ b/drivers/maru/Makefile @@ -11,3 +11,4 @@ obj-$(CONFIG_MARU_POWER_SUPPLY) += maru_power_supply.o obj-$(CONFIG_MARU_USB_MASS_STORAGE) += maru_usb_mass_storage.o obj-$(CONFIG_MARU_USB_MODE) += maru_usb_mode.o obj-$(CONFIG_MARU_VIRTIO_KEYBOARD) += maru_virtio_keyboard.o +obj-$(CONFIG_MARU_VIRTIO_ESM) += maru_virtio_esm.o diff --git a/include/linux/virtio_ids.h b/include/linux/virtio_ids.h index 7c0f21105689..96975a785b1a 100644 --- a/include/linux/virtio_ids.h +++ b/include/linux/virtio_ids.h @@ -43,6 +43,7 @@ /* Maru devices */ #define VIRTIO_ID_TOUCHSCREEN 11 /* virtio touchscreen */ #define VIRTIO_ID_KEYBOARD 12 /* virtio keyboard */ +#define VIRTIO_ID_ESM 13 /* virtio ESM */ #endif #endif /* _LINUX_VIRTIO_IDS_H */ -- 2.34.1