Hi Philip,
So only the drives I wrote use the ID in a meaningful way?
True, providing we limit our consideration to the hardware monitoring
drivers. Even in your drivers, the meaningfulness is discussable.
The lm85 driver simply displays the assigned id once (at the time it
assigns it). Since the id is then never used, I would consider the lm85
driver similar to the other hardware monitoring drivers.
The adm1026 driver, OTOH, does use the id value in all debug messages,Not for me. We ship hundreds of systems each month with a motherboard with that chip on it. I think it's actually on two different motherboards we sell.
and it also only reconfigures the GPIO pins for the first client only
(id == 0). Although this is a real use of the id, it only matters if you
use the module parameters for GPIO pins reconfiguration and actually
have more than one ADM1026 chip (a quite rare chip if you remember).
YouWouldn't a force_xxx parameter cause a specific bus/id to be probed and assigned first?
don't necessarily know which ADM1026 will get id 0 anyway (if the chips
are on different busses it depends on the order the bus drivers were
loaded in),
and I am not sure why one would want to reprogram only theWell, that's exactly the problem that I had. The motherboard vendor's BIOS didn't set the chip up and I had to program it myself. I got the schematics from the vendor for the part of the motherboard attached to the chip so that I could program it correctly.
first chip. Unless someone comes with such a specific hardware setup so
that we can examine what is really needed,
I think we can get rid of theI think that would be a bad idea. Reprogramming any chip is generally a bad idea (as we can see from the recent removal of all the init code) and forcing any specified config to apply to all chips found in the system would be an even worse idea.
"id == 0" test and reconfigure "all" ADM1026 chips (which really is only
one for the two known boards using an ADM1026).
BTW, does anyone really use the GPIO pins reconfiguration parameters?