]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r266923:
authorloos <loos@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 20 Aug 2014 19:12:19 +0000 (19:12 +0000)
committerloos <loos@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 20 Aug 2014 19:12:19 +0000 (19:12 +0000)
commit570c13751b35e0761d9cb8dab2c420a6cb1bda0f
treefa648b85af07ca5534c189e36282c52b0178b982
parent0a37bf5f59e9e2d20a4d523c02d5594156f4375e
MFC r266923:

  Ignore IIC_ENOADDR from iicbus_reset() as it only means we have a
  master-only controller.

  This fixes the iic bus scan with i2c(8) (on supported controllers).

  Tested with gpioiic(4).

MFC r267009:

  Remove the unnecessary i2c slave address assignment.

  The ti_i2c controller only works in the master mode and the i2c address
  passed on iicbus_reset() is used to set the controller slave address when
  operating as an i2c slave (which isn't currently supported).

  When talking to a slave, the slave address is correctly provided to
  ti_i2c_tranfer().

git-svn-id: svn://svn.freebsd.org/base/stable/10@270241 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/arm/ti/ti_i2c.c
sys/dev/iicbus/iic.c