From owner-freebsd-new-bus@FreeBSD.ORG Fri Oct 6 07:34:38 2006 Return-Path: X-Original-To: freebsd-new-bus@freebsd.org Delivered-To: freebsd-new-bus@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51F9316A407 for ; Fri, 6 Oct 2006 07:34:38 +0000 (UTC) (envelope-from namaskar_alok@yahoo.co.in) Received: from web8913.mail.in.yahoo.com (web8913.mail.in.yahoo.com [203.84.221.145]) by mx1.FreeBSD.org (Postfix) with SMTP id 25C0043D49 for ; Fri, 6 Oct 2006 07:34:36 +0000 (GMT) (envelope-from namaskar_alok@yahoo.co.in) Received: (qmail 71732 invoked by uid 60001); 6 Oct 2006 07:34:34 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=C8J8lzhsV6Sb4cXa63LIlZ8iYLxycjQYsEdjcGE1bfRKjAlz/8I/GrJB5kcUY5dWirrKxTMS/XkhurFTovV+ySi//hJgcPG1QcmVBk53F0c9t1S1c87KppJrfbAbTRaJN+SiAdvdNKqIes4/tj54q7iPoEOQoBQY1rAAUwsGLqM= ; Message-ID: <20061006073434.71730.qmail@web8913.mail.in.yahoo.com> Received: from [220.225.33.101] by web8913.mail.in.yahoo.com via HTTP; Fri, 06 Oct 2006 00:34:34 PDT Date: Fri, 6 Oct 2006 00:34:34 -0700 (PDT) From: Alok Barsode To: freebsd-new-bus@freebsd.org In-Reply-To: <20060930.124334.-432842007.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Device enumeration process X-BeenThere: freebsd-new-bus@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD's new-bus architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2006 07:34:38 -0000 Hi, Thanks for ur earliers replies. They helped me a lot in understanding the newbus architecture. I am involved in a freeBSD port to a freescale board. I still had a few doubts: I am looking at the autoconf.c file for the i386 architecture. When i/o configuration is in progress during startup, are the drivers for specific busses alreay assosciated with them or the association happens at run time ? for example : when nexus is being attached to root_bus, the method devclass_find_internal("nexus", 0, TRUE) is invoked(in method make_device).Now does a nexus devclass already exist ( it is created through the macro DRIVER_MODULE(nexus, root, nexus_driver, nexus_devclass, 0, 0);) or it is created at runtime ? if it is created at runtime how the nexus_driver get assciated with nexus? Thanks, Alok. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com