Sure, the address layout is different, but that can be made generic in a
second step. Maybe we need a private pointer in the gate_fn struct.
Yes, something like that.
BTW: who will enable the clocks that have been disabled via the
sata/pcie shutdown functions?
This is potentially a problem when the SATA driver is built as a
kernel module. There is no code that i know of to turn the SATA PHYs
back on again. I think this has been broken like this for a long
time...
For PCIE it is not a problem, that code cannot be build as a module.
Andrew