Freebsd and I2c driver:
I am trying to write a i2c driver. From device driver when I call
iicbus_transfer(), parameter iic_msg does not contains the register
address on which read/write operation has to be done. This iic_msg
contains only slave address.
Can any one explain how to pass the register address info to i2c bus
driver/ i2c adapter?
With my understanding, kernel will call iicbus_star() , iicbus_read()
whenever iicbus_transfer() has been called from the upper driver.
I appreciate if you help me understanding the communications between
the chip driver and the iic bus driver.