Date: Thu, 04 Jun 2009 12:16:11 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: arch@freebsd.org Subject: HEADS UP: Removing functions from driver API Message-ID: <20090604.121611.1057477291.imp@bsdimp.com>
next in thread | raw e-mail | index | archive | help
I'd like to remove from the driver API by making the following static: devclass_add_driver devclass_delete_driver devclass_find_driver They aren't used, nor generally useful, by drivers in the current tree. The devclass_t routines are generally harder to lock than necessary because they touch so much global data. By eliminating these from the API, its three fewer functions that need to be robustly locked for external consumers. Since they are basically unused today anyway, I think it would be better to just reduce their scope. Comments? Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090604.121611.1057477291.imp>