Il 30/05/2013 09:15, Peter Crosthwaite ha scritto: >>> >> Hi Peter, Should we be putting r->access->name here instead of >>> >> "devcfg-regs"? >> > >> > Yes, that's why I preferred to wrap the memory_region_init_io into an >> > API that takes a RegisterInfo. :) > ACK, > > You've convinced me :). Will be in v4 (pending outcome of discussion > with Anthony RE decoding)
I would also have preferred (I was too terse in mentioning .accepts.valid earlier so this is the less concise explanation) an API that does a single memory_region_init_io region for a whole array of registers. Basically having a RegisterArrayInfo in addition to the RegisterInfo. Paolo