obj-i386-y += maru_vga.o
obj-i386-y += maru_brightness.o
obj-i386-y += maru_touchscreen.o
+obj-i386-$(CONFIG_PCI) += maru_camera_common_pci.o
+obj-i386-$(CONFIG_LINUX) += maru_camera_linux_pci.o
+obj-i386-$(CONFIG_WIN32) += maru_camera_win32_pci.o
+# libs for maru camera on linux host
+ifdef CONFIG_LINUX
+LIBS += -lv4l2 -lv4lconvert
+endif
+
# maru skin
obj-i386-y += maruskin_client.o maruskin_server.o maruskin_operation.o
// maru specialized device init...
if (pci_enabled) {
- //svcamera_pci_init(pci_bus);
+ maru_camera_pci_init(pci_bus);
//tizen_ac97_init(pci_bus);
codec_init(pci_bus);
}
#include "qemu-common.h"
#include "cpu-common.h"
-#include "pc.h"
#include "pci.h"
#include "pci_ids.h"
+#include "maru_pci_ids.h"
#include "maru_camera_common.h"
#include "tizen/src/debug_ch.h"
ret = state->thread->param->errCode;
state->thread->param->errCode = 0;
break;
- ldefault:
+ default:
WARN("Not supported command!!\n");
break;
}
/*
* Termination function
*/
-static int marucam_exitfn(PCIBus *bus)
+static int marucam_exitfn(PCIDevice *dev)
{
MaruCamState *s = DO_UPCAST(MaruCamState, dev, dev);
.exit = marucam_exitfn,
.vendor_id = PCI_VENDOR_ID_TIZEN,
.device_id = PCI_DEVICE_ID_VIRTUAL_CAMERA,
- .class_id = PCI_CLASS_MULTIMEDIA_OTHER,
+ .class_id = PCI_CLASS_OTHERS,
};
static void maru_camera_pci_register(void)