[Openipmi-developer] [patch 1/1] ipmi: add autosensing of ipmi device on powerpc using device-tree
Arnd Bergmann
arnd at arndb.de
Sat Dec 9 22:46:19 EST 2006
On Saturday 09 December 2006 10:46, Segher Boessenkool wrote:
> How do you know? Some later compatible implementation might add
> some regs. Also, there are implementations that simply ignore
> the lower address bits, so size=1 in the "reg" property is wrong
> for those.
>
> > but depending on the HW implementation, they may be
> > between 1 and 4 bytes wide, and can have a different spacing.
>
> Always one byte wide.
AFAICS, some implementations require word access on the registers,
even if only part of it is used. That's why the driver has
the concept of reg-size and reg-shift.
Arnd <><
More information about the Linuxppc-dev
mailing list