From 9dcbe2404a244059708f3bbc8cbfa0a14887c4ea Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Mon, 23 Aug 1999 20:59:21 +0000 Subject: Convert DEVFS hooks in (most) drivers to make_dev(). Diskslice/label code not yet handled. Vinum, i4b, alpha, pc98 not dealt with (left to respective Maintainers) Add the correct hook for devfs to kern_conf.c The net result of this excercise is that a lot less files depends on DEVFS, and devtoname() gets more sensible output in many cases. A few drivers had minor additional cleanups performed relating to cdevsw registration. A few drivers don't register a cdevsw{} anymore, but only use make_dev(). --- sys/dev/fb/fb.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/dev/fb') diff --git a/sys/dev/fb/fb.c b/sys/dev/fb/fb.c index 2b1eeadeca9e..ba697cfbe193 100644 --- a/sys/dev/fb/fb.c +++ b/sys/dev/fb/fb.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: fb.c,v 1.6 1999/06/22 14:13:22 yokota Exp $ + * $Id: fb.c,v 1.7 1999/07/04 14:58:15 phk Exp $ */ #include "fb.h" @@ -409,8 +409,6 @@ fb_attach(dev_t dev, video_adapter_t *adp, struct cdevsw *cdevsw) vidcdevsw[adp->va_index] = cdevsw; splx(s); - /* XXX: DEVFS? */ - printf("fb%d at %s%d\n", adp->va_index, adp->va_name, adp->va_unit); return 0; } -- cgit v1.3