summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorRoger Hardiman <roger@FreeBSD.org>1999-01-26 23:21:01 +0000
committerRoger Hardiman <roger@FreeBSD.org>1999-01-26 23:21:01 +0000
commit98d4473c22c77eefa36aa5d599fe4c5d8dcb5f0a (patch)
treee5dd5bdffabe80f2b72cd140f692f378f5b67183 /sys/dev
parentfc8439f3e6b980aca00da07a27376547689728ed (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/iicbus/iiconf.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/iicbus/iiconf.h b/sys/dev/iicbus/iiconf.h
index 0b548fbdf8f0..dde241cf179c 100644
--- a/sys/dev/iicbus/iiconf.h
+++ b/sys/dev/iicbus/iiconf.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: iiconf.h,v 1.2 1998/10/31 11:31:07 nsouch Exp $
+ * $Id: iiconf.h,v 1.3 1999/01/09 18:08:24 nsouch Exp $
*/
#ifndef __IICONF_H
#define __IICONF_H
@@ -118,6 +118,10 @@ extern int iicbus_stop(device_t);
extern int iicbus_write(device_t, char *, int, int *, int);
extern int iicbus_read(device_t, char *, int, int *, int, int);
+/* single byte read/write functions, start/stop not managed */
+extern int iicbus_write_byte(device_t, char, int);
+extern int iicbus_read_byte(device_t, char *, int);
+
/* Read/write operations with start/stop conditions managed */
extern int iicbus_block_write(device_t, u_char, char *, int, int *);
extern int iicbus_block_read(device_t, u_char, char *, int, int *);