summaryrefslogtreecommitdiffstats
path: root/sys/dev/iicbus/iiconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/iicbus/iiconf.h')
-rw-r--r--sys/dev/iicbus/iiconf.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/dev/iicbus/iiconf.h b/sys/dev/iicbus/iiconf.h
index bbf4907..8d20335 100644
--- a/sys/dev/iicbus/iiconf.h
+++ b/sys/dev/iicbus/iiconf.h
@@ -34,8 +34,6 @@
#define IICPRI (PZERO+8) /* XXX sleep/wakeup queue priority */
-#define n(flags) (~(flags) & (flags))
-
#define LSB 0x1
/*
@@ -94,11 +92,6 @@
#define IIC_ENOTSUPP 0x8 /* request not supported */
#define IIC_ENOADDR 0x9 /* no address assigned to the interface */
-/*
- * ivars codes
- */
-#define IICBUS_IVAR_ADDR 0x1 /* I2C address of the device */
-
extern int iicbus_request_bus(device_t, device_t, int);
extern int iicbus_release_bus(device_t, device_t);
extern device_t iicbus_alloc_bus(device_t);
@@ -127,8 +120,6 @@ extern int iicbus_read_byte(device_t, char *, int);
extern int iicbus_block_write(device_t, u_char, char *, int, int *);
extern int iicbus_block_read(device_t, u_char, char *, int, int *);
-extern u_char iicbus_get_addr(device_t);
-
/* vectors of iic operations to pass to bridge */
int iicbus_transfer(device_t bus, struct iic_msg *msgs, uint32_t nmsgs);
int iicbus_transfer_gen(device_t bus, struct iic_msg *msgs, uint32_t nmsgs);
OpenPOWER on IntegriCloud