diff options
author | imp <imp@FreeBSD.org> | 2006-12-05 05:06:59 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2006-12-05 05:06:59 +0000 |
commit | 49862bc6dae04d1388c4669b6f6ea5d0bb2326d1 (patch) | |
tree | 626d0ccbcee901374b4c6a124e47bacd3957965f /sys/dev | |
parent | 19c999e75fbde10d2803892046968bccc1b5d309 (diff) | |
download | FreeBSD-src-49862bc6dae04d1388c4669b6f6ea5d0bb2326d1.zip FreeBSD-src-49862bc6dae04d1388c4669b6f6ea5d0bb2326d1.tar.gz |
Reference Hauppage's cxm_iic bit-bang device here.
Add a note that suggests a cleanup.
Note: This patch was derived based on looking at the pvrxxx/pvr250
ports' Makefiles only, and may be incomplete. It is not derived from
anything I saw from Hauppage.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/iicbus/iicbb.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/iicbus/iicbb.c b/sys/dev/iicbus/iicbb.c index b33544b..6c70478 100644 --- a/sys/dev/iicbus/iicbb.c +++ b/sys/dev/iicbus/iicbb.c @@ -391,10 +391,15 @@ iicbb_read(device_t dev, char * buf, int len, int *read, int last, int delay) return (0); } +/* + * XXX This is lame. We need to have a base iicbb_bridge class that all these + * XXX derive from. + */ DRIVER_MODULE(iicbb, bktr, iicbb_driver, iicbb_devclass, 0, 0); DRIVER_MODULE(iicbb, ixpiic, iicbb_driver, iicbb_devclass, 0, 0); DRIVER_MODULE(iicbb, lpbb, iicbb_driver, iicbb_devclass, 0, 0); DRIVER_MODULE(iicbb, viapm, iicbb_driver, iicbb_devclass, 0, 0); +DRIVER_MODULE(iicbb, cxm_iic, iicbb_driver, iicbb_devclass, 0, 0); MODULE_DEPEND(iicbb, iicbus, IICBUS_MINVER, IICBUS_PREFVER, IICBUS_MAXVER); MODULE_VERSION(iicbb, IICBB_MODVER); |