All of lore.kernel.org
 help / color / mirror / Atom feed
* Note to anyone who accesses the OpenFSI driver 'raw' file in their code
@ 2017-04-04 17:50 Christopher Bostic
  0 siblings, 0 replies; only message in thread
From: Christopher Bostic @ 2017-04-04 17:50 UTC (permalink / raw)
  To: OpenBMC Maillist

To anyone who reads or writes to the OpenFSI device driver 'raw' file(s) 
on BMC please note that data for both reads and writes is changing to 
native bus endian format.  This is effective with the release of the 
OpenBMC 4.10 kernel.  Note that 4.7 is not impacted by this.

Adjustments you will need to make:

Any 32 bit data must be byte swapped prior to writing to the 'raw' 
file.  i.e.: instead of writing <byte 3, byte 2, byte 1, byte 0 > as was 
done before you will instead write <byte 0, byte 1, byte 2, byte 3>.  
Conversely all data read out of the 'raw' file must be byte swapped 
before acting on it.

Please let me know if you have any questions,

Chris

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-04-04 17:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-04 17:50 Note to anyone who accesses the OpenFSI driver 'raw' file in their code Christopher Bostic

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.