freebsd-nq/sys/powerpc
Justin Hibbits 3395ab28eb powerpc/powernv: Make opal_i2c driver work with attached i2c drivers
* FreeBSD stores addresses in 8 bit format, but the OPAL API requires the 7-bit
  address, and encodes the direction elsewhere.  Behave like other i2c drivers,
  and shift accordingly.
* The OPAL API can already handle multiple requests in flight.  Change the async
  token to be private to the thread, so as not to stomp across i2c accesses,
  remove the limitation error message, and use the correct message index to
  transfer all messages in the list.
* Micro-optimize the async handler to not continuously call pmap_kextract() when
  spin-waiting for the operation to complete.

This has been tested by hexdumping an EEPROM attached via the icee(4) driver.
2018-07-09 20:33:48 +00:00
..
aim powerpc64: Fix stack setup in dbtrap 2018-06-23 01:42:34 +00:00
booke
conf
cpufreq
fpu
include Back pcpu zone with domain correct pages 2018-07-06 02:06:03 +00:00
mambo
mikrotik
mpc85xx
ofw
powermac
powernv powerpc/powernv: Make opal_i2c driver work with attached i2c drivers 2018-07-09 20:33:48 +00:00
powerpc Create a new macro for static DPCPU data. 2018-07-05 17:13:37 +00:00
ps3
pseries
psim