Changeset 3332
- Timestamp:
- 07/21/99 08:43:28 (14 years ago)
- Location:
- i2c/trunk/kernel
- Files:
-
- 2 modified
-
i2c-algo-bit.c (modified) (1 diff)
-
i2c.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
i2c/trunk/kernel/i2c-algo-bit.c
r3330 r3332 229 229 230 230 DEBPROTO( printk("[%2.2x]",c&0xff) ); 231 DEBPROTO(if (0==ack) printk(" A ");else printk(" NA ") );231 DEBPROTO(if (0==ack){ printk(" A ");} else printk(" NA ") ); 232 232 scllo(adap); 233 233 return 0==ack; /* return 1 if device acked */ -
i2c/trunk/kernel/i2c.h
r3331 r3332 19 19 along with this program; if not, write to the Free Software 20 20 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ 21 /* ------------------------------------------------------------------------- */ 22 /* $Revision$ $Date$*/ 21 23 /* ------------------------------------------------------------------------- */ 22 24 … … 428 430 #define I2C_ALGO_SMBUS 0x040000 429 431 #define I2C_ALGO_ISA 0x050000 430 #define I2C_ALGO_SAA7146A 0x060000 /* SAA 7146 video decoder bus */ 432 #define I2C_ALGO_SAA7146 0x060000 /* SAA 7146 video decoder bus */ 433 #define I2C_ALGO_SAA7146A 0x060001 /* SAA 7146A - enhanced version */ 431 434 432 435
