On 08/13/2012 05:49 PM, Kevin O'Connor wrote:
On
How different are they. Can you give human readable example?
Here are the examples from the IPMI spec. I lied a little bit, there are actually four standard interfaces (one can be on an SMBus), but it's a different thing to manage, I think.
Does your patch produce all of the four variants you've identified? What fields (if any) are dynamic within the variants?
-Kevin
My patch does not do the SMBus variant, as that would need to go into an SMBus device, and I haven't worked at all on an IPMI device to do this.
The fields that are dynamic are:
_STR - A string identifying the interface type (optional, but recommended)
_CRS - This can be a I/O or a memory address, and an interrupt may or may not be here. I have not done the work to add the memory bus, as my qemu patch does not support that yet.
_IFT - An integer that identifies the interface type.
_SRV - Identifies the IPMI spec version the interface complies to. It's generally best to use the actual version; if you used a newer version then an old driver may not work with it.
If more than one interface is added, then the _UID field becomes important, but there's no support for that at the moment.
-corey