From owner-freebsd-current@FreeBSD.ORG Wed Apr 27 11:34:25 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DB8416A4CE for ; Wed, 27 Apr 2005 11:34:25 +0000 (GMT) Received: from arginine.spc.org (arginine.spc.org [83.167.185.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4600F43D53 for ; Wed, 27 Apr 2005 11:34:25 +0000 (GMT) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id 511D36530A; Wed, 27 Apr 2005 12:33:35 +0100 (BST) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12053-02; Wed, 27 Apr 2005 12:33:34 +0100 (BST) Received: from empiric.dek.spc.org (82-35-116-62.cable.ubr07.dals.blueyonder.co.uk [82.35.116.62]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id 3A4C6652FE; Wed, 27 Apr 2005 12:33:34 +0100 (BST) Received: by empiric.dek.spc.org (Postfix, from userid 1001) id 8FB20625F; Wed, 27 Apr 2005 12:34:18 +0100 (BST) Date: Wed, 27 Apr 2005 12:34:18 +0100 From: Bruce M Simpson To: kylin Message-ID: <20050427113418.GD5585@empiric.icir.org> Mail-Followup-To: kylin , freebsd-current@freebsd.org References: <87ab37ab050425205527cecaf3@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87ab37ab050425205527cecaf3@mail.gmail.com> cc: freebsd-current@freebsd.org Subject: Re: when will pci hotplug in Freebsd X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2005 11:34:25 -0000 On Tue, Apr 26, 2005 at 11:55:41AM +0800, kylin wrote: > so ,I wonder if the freebsd 5.4 or later version will support PCI > hotplug, if there is long time enought before the official providing > utility,i may develop it on my own, or i will just wait asn see :) I began doing some of the required work in order to support my Mobility Electronics EasiDock 5000, which is currently in storage in Berkeley after having moved back to London proper (hopefully picking up or shipping it next month). The EasiDock 5000 is a CardBus-to-PCI device. Whilst it doesn't conform to any of the other PCI Hotplug standards (it is just a hot-pluggable PCI bus) the code which needed to be written adds the necessary code paths to our PCI bus drivers to back out of bus resource allocations and detach instances cleanly. The patches to do this are currently in my p4 branch of 5.4-RC1. The thing we haven't worked out how to do just yet is how to divide the necessary resources in a strictly hierarchical way. Regards, BMS