summaryrefslogtreecommitdiffstats
path: root/sys/dev/iicbus/iicbus.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2006-07-14 23:15:06 +0000
committerimp <imp@FreeBSD.org>2006-07-14 23:15:06 +0000
commitfd85c7f61c4637d47796575f4873c0a2f57a9932 (patch)
treee0047914863c0b23f720e30549504437b56ebebb /sys/dev/iicbus/iicbus.h
parent005f4f7d53a16bf4273219f9cba543e558d546b9 (diff)
downloadFreeBSD-src-fd85c7f61c4637d47796575f4873c0a2f57a9932.zip
FreeBSD-src-fd85c7f61c4637d47796575f4873c0a2f57a9932.tar.gz
Allow iic bridges to support a generalized transfer, rather than
forcing all transfers to do the start read/write stop by hand. Some smart bridges prefer this sort of operation, and this allows us to support their features more easily. When bridges don't support it, we fall back to using the old-style opertaions. Expand the ioctl interface to expose this function. Unlike the old-style interface, this interface is thread safe, even on old bridges.
Diffstat (limited to 'sys/dev/iicbus/iicbus.h')
-rw-r--r--sys/dev/iicbus/iicbus.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/iicbus/iicbus.h b/sys/dev/iicbus/iicbus.h
index fcf758b..f0c061c 100644
--- a/sys/dev/iicbus/iicbus.h
+++ b/sys/dev/iicbus/iicbus.h
@@ -38,4 +38,7 @@ struct iicbus_softc {
extern int iicbus_generic_intr(device_t dev, int event, char *buf);
+extern driver_t iicbus_driver;
+extern devclass_t iicbus_devclass;
+
#endif
OpenPOWER on IntegriCloud