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.
This commit is contained in:
Warner Losh 2006-12-05 05:06:59 +00:00
parent 3ce4e91d4e
commit 7362a1ad37
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=164897

View File

@ -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);