diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-12-28 01:02:59 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-12-28 01:02:59 +0000 |
commit | ec18f9a7f85323980dfe58849681f2d362a7b136 (patch) | |
tree | 8784d7a5ab9a739d105cbbfc5ff4ca818324d92e /sys/dev/i2c/i2cvar.h | |
parent | ef73d44570c354fd2af68a01315a8b99be7ff8e1 (diff) |
some chips (especially those crazy i2c/lpc/isa gross things) expose their
banks at other addresses, but there are issues with accessing these other
devices. so allow a driver to "knock" these out from future probing.
tested by kettenis -- unfortunate enough to have one of these winbond pieces
of poo
Diffstat (limited to 'sys/dev/i2c/i2cvar.h')
-rw-r--r-- | sys/dev/i2c/i2cvar.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/i2c/i2cvar.h b/sys/dev/i2c/i2cvar.h index 01115a23de6..8c3a9edc788 100644 --- a/sys/dev/i2c/i2cvar.h +++ b/sys/dev/i2c/i2cvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: i2cvar.h,v 1.6 2005/12/27 17:18:18 deraadt Exp $ */ +/* $OpenBSD: i2cvar.h,v 1.7 2005/12/28 01:02:58 deraadt Exp $ */ /* $NetBSD: i2cvar.h,v 1.1 2003/09/30 00:35:31 thorpej Exp $ */ /* @@ -146,4 +146,6 @@ int iic_smbus_write_byte(i2c_tag_t, i2c_addr_t, uint8_t, uint8_t, int); int iic_smbus_read_byte(i2c_tag_t, i2c_addr_t, uint8_t, uint8_t *, int); int iic_smbus_receive_byte(i2c_tag_t, i2c_addr_t, uint8_t *, int); +void iic_ignore_addr(u_int8_t addr); + #endif /* _DEV_I2C_I2CVAR_H_ */ |