From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 1 14:30:08 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7507316BCCC for ; Thu, 1 Jun 2006 14:30:08 +0000 (UTC) (envelope-from fierykylin@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0AAB43DA1 for ; Thu, 1 Jun 2006 14:29:40 +0000 (GMT) (envelope-from fierykylin@gmail.com) Received: by wx-out-0102.google.com with SMTP id i31so206328wxd for ; Thu, 01 Jun 2006 07:29:39 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=SqO9Z8ClhFw+GFJ83vEbld2ml9FTcVUtv5tffGuAtxT3Abgl6SD9AMQHztq6fnMJBaIrlJ3xxEEt9yVu+PkqnYS6hFlmi5eNttSj8C+QRBYNIHndCi/MR6Up0P/qZHMtJfwBm2In4F9z7uatn3SBMk7aBkJZfUbeQXCmL2/iWdg= Received: by 10.70.19.5 with SMTP id 5mr803538wxs; Thu, 01 Jun 2006 07:29:39 -0700 (PDT) Received: by 10.70.43.11 with HTTP; Thu, 1 Jun 2006 07:29:39 -0700 (PDT) Message-ID: <87ab37ab0606010729o6435988cw6196345902a7e151@mail.gmail.com> Date: Thu, 1 Jun 2006 22:29:39 +0800 From: "william wallace" Sender: fierykylin@gmail.com To: "M. Warner Losh" In-Reply-To: <20060530.193050.-957834284.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <87ab37ab0605300815k55358542y3110d4ee30cf8ba2@mail.gmail.com> <20060530094407.S93846@pooker.samsco.org> <87ab37ab0605301826j92e3f6gaed3ba75c039fe33@mail.gmail.com> <20060530.193050.-957834284.imp@bsdimp.com> X-Google-Sender-Auth: 2fb9b5d89c941f51 Cc: freebsd-hackers@freebsd.org, scottl@samsco.org Subject: Re: misc questions about the device&driver arch X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2006 14:30:08 -0000 Sir : question one : I see lots' of use of pcib_get_bus but i cannot see the defination ,where is it ? question two: what is the relationship among 1device_delete_child 2devclass_delete_device and 3devclass_delete_driver there seems some overlap among them :) 1devclass_delete_driver ->device_detach->devclass_delete_device 2device_delete_child -> device_detach thank u!! we who r about to die,salute u!