Hi, On Tue, Jul 02, 2013 at 10:08:37AM +0200, Sebastian Andrzej Siewior wrote: > On 07/01/2013 09:18 AM, Felipe Balbi wrote: > > in case we're not in a DT boot, we should > > still be able to tell the driver how to behave. > > > > In order to be able to pass flags to the driver, > > we introduce platform_data structure which the > > core driver should use. > > Now you are getting me curious. Who is suddenly out there and needs > platform since each new platform is OF only. And I guess you do not > plan this for PCI-E. nobody, frankly, but still, if we add something to DT, we should add the equivalent platform_data, should some platform out there want to use it. At least for PCIe-based FPGA testing, it might be beneficial to have the possibility to change maximum-speed and tx-fifo-resize flags ;-) -- balbi
Attachment:
signature.asc
Description: Digital signature