Re: RFC: cpm2_devices.c
From: Kumar Gala <hidden>
Date: 2005-06-16 15:53:17
So have we answered your question regarding the inclusion of DMA and CPM in the platform_device array? If I am reading this correctly, all the individual CPM "objects" should be defined in the device structure with their physical address location defined. The complete IMMAP structure can then be constructed from these objects if required.
Actually, I dont feel that anyone has given a reason why or how they would use CPM, DMA, SI1, SI2 if they were platform devices.
Is it possible to add some flags to the IORESOURCE information to address the differences in SCC structures between processor types? Perhaps something like this could be used to apply the correct structure cast in the device driver. Just a thought...
I envisioned this being a field in the platform_data structures for the devices. - kumar