/* The following functions are needed for DMA bouncing. ITE8152 chip can addrees up to 64MByte, so all the devices connected to ITE8152 (PCI and USB) should have limited DMA window Setup DMA mask to 64MB on devices connected to ITE8152. Ignore all other devices.  */
static int it8152_pci_platform_notify(struct device *dev)
/* The following functions are needed for DMA bouncing. ITE8152 chip can addrees up to 64MByte, so all the devices connected to ITE8152 (PCI and USB) should have limited DMA window Setup DMA mask to 64MB on devices connected to ITE8152. Ignore all other devices.  */
static int it8152_pci_platform_notify(struct device *dev)
{
	if (dev->bus == &pci_bus_type) {
		if (dev->dma_mask)
			*dev->dma_mask = (SZ_64M - 1) | PHYS_OFFSET;
		dev->coherent_dma_mask = (SZ_64M - 1) | PHYS_OFFSET;
		dmabounce_register_dev(dev, 2048, 4096);
	}
	return 0;
}