Subject: Re: [Openipmi-developer] [patch 1/1] ipmi: add autosensing of ipmi device on powerpc using device-tree

From: Christian Krafft <[email-masked]>
Date: Mon, 11 Dec 2006 18:20:01 +0100

Good then, it make things easier for me ;-)
Will send an updated version soon...

Cheers, ck

On Mon, 11 Dec 2006 17:58:36 +0100
Segher Boessenkool <[email-masked]> wrote:

> > If I understood you comments an example OFDT node for IPMI could
> > look like the following:
> >
> > name =3D "ipmi"
> > device_type =3D "ipmi"
> > compatible =3D "ipmi-kcs"
> >
> > reg =3D XXXXXXX8 00000008
> > reg-spacing =3D 4
>=20
> Yeah.
>=20
> > reg-size    =3D 1
> > reg-shift   =3D 0
>=20
> But without these two, they are the default.
>=20
> > Is the "8" of the reg property correct?
>=20
> Sure.  Alternatively, if your device really only claims
> bus cycles targeting the 8-bit regs at xxx8 and xxxC, you
> can say that in the "reg" property.  This doesn't change
> the programming model in the least though.
>=20
> > I'm still worried what happens when we have a BT or SMIC interface
> > an the registers sitting at XXXXXXX4, XXXXXXX6, XXXXXXXA. In this
> > case the reg-spacing property can't be used anymore. Can this
> > happen in reality?
>=20
> I don't think it is allowed.  Either way, the generic Linux IPMI
> code would need changing for this -- let's worry about it later
> (if ever!)
>=20
>=20
> Segher
>=20

--=20
Mit freundlichen Gr=FCssen,
kind regards,

Christian Krafft
IBM Systems & Technology Group,=20
Linux Kernel Development
IT Specialist