From owner-freebsd-drivers@FreeBSD.ORG Wed Oct 22 06:46:56 2008 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDACA106566B for ; Wed, 22 Oct 2008 06:46:56 +0000 (UTC) (envelope-from mboxindia@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.187]) by mx1.freebsd.org (Postfix) with ESMTP id 4FD358FC19 for ; Wed, 22 Oct 2008 06:46:56 +0000 (UTC) (envelope-from mboxindia@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so3166907fkk.11 for ; Tue, 21 Oct 2008 23:46:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=yUpYu85hB+n55oe2uToY9vlLNJINHWGFppuZhtzOYmc=; b=CRIHk3UqUZ+0co08zw+ybVNG8qmUx83ROQ5cxkBEvn5ln2DEGjWY4cdftgIl0H4kWB kSU2ZeuNFECbotj467JvLicj1slRR502uFjLG7s7QEKFSiyIYz/5mfOgAMPpJpiJtpYA IUEs/D5P4abKpsK+oVdNfETo9sc+AN/O4M4BM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=ST0q6MArTwp25x8QdF72drYFli7Ma/5GaMm/ba1N6d9VRXeaIUNLC2o0/DQikzEtaw zwav4oTCrykvVpBiheOSb5qFEXgFhwHC3tyUfpu9apHi5rfeuTYkd4LDyCHChRTJINsY yA2e9vC9l61NT0QU/U29YNCemAEUvaYSSgn+M= Received: by 10.103.247.14 with SMTP id z14mr4941578mur.39.1224658015030; Tue, 21 Oct 2008 23:46:55 -0700 (PDT) Received: by 10.103.141.5 with HTTP; Tue, 21 Oct 2008 23:46:54 -0700 (PDT) Message-ID: Date: Wed, 22 Oct 2008 12:16:54 +0530 From: Srinivas To: freebsd-drivers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [Info] Device detection X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2008 06:46:56 -0000 Hello, I have been very curious about how devices are detected in a system under FreeBSD ... AFAIK, root_bus is added during system startup through "SI_SUB_DRIVERS" subsystem of SYSINIT mechanism. After that how the buses are detected and added and how the devices under each bus are detected and added to the kernel. Could someone plz explain or point out a link which has the explanation. Thanks for your time, Srinivas