Deleted Added
full compact
48c48
< __FBSDID("$FreeBSD: stable/10/sys/arm/ti/ti_i2c.c 239281 2012-08-15 06:31:32Z gonzo $");
---
> __FBSDID("$FreeBSD: stable/10/sys/arm/ti/ti_i2c.c 265810 2014-05-10 08:10:01Z rpaulo $");
1079,1086c1079
< /* XXXOMAP3: FIXME get proper revision here */
< /* First read the version number of the I2C module */
< sc->sc_rev = ti_i2c_read_2(sc, I2C_REG_REVNB_HI) & 0xff;
<
< device_printf(dev, "I2C revision %d.%d\n", sc->sc_rev >> 4,
< sc->sc_rev & 0xf);
<
< /* Activate the H/W */
---
> /* First we _must_ activate the H/W */
1092a1086,1092
> /* XXXOMAP3: FIXME get proper revision here */
> /* Read the version number of the I2C module */
> sc->sc_rev = ti_i2c_read_2(sc, I2C_REG_REVNB_HI) & 0xff;
>
> device_printf(dev, "I2C revision %d.%d\n", sc->sc_rev >> 4,
> sc->sc_rev & 0xf);
>