Hey, the } was a mistake within the copy & past.
I tried several ways to input an array
Sry warhead I do not realy get what you mean.
I realized that this board has 1 sata controler (phy) with 2 ports.
The number of ports is at the moment hardcoded, and as I see it this controls just the arraysize of 2 pointers.
I think the kernel panics because only the first entery of these arrays are written. My appproch was now, why don't easy write an array of an register instat of a single register.
Maybe you can tell me what is wrong with this idea
I tried several ways to input an array
Quote
And we still need it to truly understand it is _one_ controller with _two_ ports. This really needs to be handled @ the driver code, and then only the difference adjusted @ the dts would be nr-ports.
Sry warhead I do not realy get what you mean.
I realized that this board has 1 sata controler (phy) with 2 ports.
The number of ports is at the moment hardcoded, and as I see it this controls just the arraysize of 2 pointers.
I think the kernel panics because only the first entery of these arrays are written. My appproch was now, why don't easy write an array of an register instat of a single register.
Maybe you can tell me what is wrong with this idea