From owner-freebsd-ppc@FreeBSD.ORG Mon Feb 1 06:38:19 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61215106566C; Mon, 1 Feb 2010 06:38:19 +0000 (UTC) (envelope-from rajatjain@juniper.net) Received: from exprod7og125.obsmtp.com (exprod7og125.obsmtp.com [64.18.2.28]) by mx1.freebsd.org (Postfix) with ESMTP id C05238FC13; Mon, 1 Feb 2010 06:38:18 +0000 (UTC) Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob125.postini.com ([64.18.6.12]) with SMTP ID DSNKS2Z22lu7BcDKgCNj5sQohlOJ57a+0J/F@postini.com; Sun, 31 Jan 2010 22:38:18 PST Received: from gaugeboson.jnpr.net (10.209.194.17) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.393.1; Sun, 31 Jan 2010 22:26:04 -0800 Received: from emailbng3.jnpr.net ([10.209.194.27]) by gaugeboson.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 1 Feb 2010 11:56:01 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 1 Feb 2010 11:56:00 +0530 Message-ID: <8506939B503B404A84BBB12293FC45F60681AA1B@emailbng3.jnpr.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: About hot-plugging support in FreeBSD Thread-Index: AcqjB2wYr4V2eolETBattuBEzcaY7Q== From: Rajat Jain To: X-OriginalArrivalTime: 01 Feb 2010 06:26:01.0658 (UTC) FILETIME=[6CA8C9A0:01CAA307] Cc: freebsd-ia32@freebsd.org, freebsd-ppc@freebsd.org Subject: About hot-plugging support in FreeBSD X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2010 06:38:19 -0000 Hi, I'm a newbie to the FreeBSD and have come from Linux background, hence please pardon me if this is not the right list for my questions, and please point me to the correct list:=20 1) Does FreeBSD support PCI-Express hot-plugging? I could not even find any instances in the source code that suggest that even PCI hot-plugging is supported. Is it supported? Can you please point me to appropriate references in the code? >From the links below it seems, that the PCI hot-plug is definitely in the roadmap, but it seems that it is a distant target? http://wiki.freebsd.org/PCIHotplug http://www.freebsd.org/projects/ideas/ideas.html#p-pcihotplug Is work already being done on this? Is some limited support available? 2) How and WHERE in the code is the "PCI Enumeration" and the "PCI resource allocation" done?: 2a) Does FreeBSD does its own PCI resource allocation / PCI bus numbering, or does it simply use the one already done by the BIOS / bootloader? 2b) In case it does its own PCI resource management, is the PCI Enumeration done only at the boot time, or devices can be detected and added later at run-time as well? [Please note that for adding at run time, we'll need certain PCI resource pre-reserved in anticipation of any new devices] I'd appreciate if you could provide me any pointers... Thanks, Rajat