#define PCI_DEVICE_ID_SUN_SIMBA 0x5000
#define PCI_DEVICE_ID_SUN_SABRE 0xa000
-#define PCI_VENDOR_ID_TIZEN 0xC9B5
-#define PCI_DEVICE_ID_VIRTUAL_OVERLAY 0x1010
-#define PCI_DEVICE_ID_VIRTUAL_BRIGHTNESS 0x1014
-#define PCI_DEVICE_ID_VIRTUAL_CAMERA 0x1018
-#define PCI_DEVICE_ID_VIRTUAL_CODEC 0x101C
-
#define PCI_VENDOR_ID_CMD 0x1095
#define PCI_DEVICE_ID_CMD_646 0x0646
/* setup memory space */
/* memory #0 device memory (overlay surface) */
/* memory #1 memory-mapped I/O */
- pci_register_bar(&s->dev, 0, PCI_BASE_ADDRESS_MEM_PREFETCH, overlay_mem_map);
- pci_register_bar(&s->dev, 1, PCI_BASE_ADDRESS_SPACE_MEMORY, overlay_mmio_map);
+ pci_register_bar(&s->dev, 0, OVERLAY_MEM_SIZE,
+ PCI_BASE_ADDRESS_MEM_PREFETCH, overlay_mem_map);
+
+ pci_register_bar(&s->dev, 1, OVERLAY_REG_SIZE,
+ PCI_BASE_ADDRESS_SPACE_MEMORY, overlay_mmio_map);
return 0;
}