summaryrefslogtreecommitdiffstats
path: root/sys/dev/iicbus/iiconf.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2006-11-28 00:05:04 +0000
committerimp <imp@FreeBSD.org>2006-11-28 00:05:04 +0000
commitbd4849f15e766bf022e819e96e535171599aedf4 (patch)
tree04c186dd1dd66e35684a7631f486bb1c4d32fcbc /sys/dev/iicbus/iiconf.h
parente0c840ca32a5bb5bebaccbe99416f0578d8c67eb (diff)
downloadFreeBSD-src-bd4849f15e766bf022e819e96e535171599aedf4.zip
FreeBSD-src-bd4849f15e766bf022e819e96e535171599aedf4.tar.gz
Remove unused leftovers.
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