-----Original Message----- From: <[email protected]> on behalf of Justin Hibbits <[email protected]> Date: 2018-07-09, Monday at 13:33 To: <[email protected]>, <[email protected]>, <[email protected]> Subject: svn commit: r336144 - head/sys/powerpc/powernv
> Author: jhibbits > Date: Mon Jul 9 20:33:48 2018 > New Revision: 336144 > URL: https://svnweb.freebsd.org/changeset/base/336144 > > Log: > 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. You got seven contiguous address bits? LUXURY! Look for "slave" and "write_op" in sys/dev/imcsmb.c:imcsmb_transfer(); it's "hilarious". -Ravi _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "[email protected]"
