From owner-freebsd-questions@FreeBSD.ORG Sat Nov 5 02:21:53 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 532D316A420 for ; Sat, 5 Nov 2005 02:21:53 +0000 (GMT) (envelope-from fierykylin@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8776343D53 for ; Sat, 5 Nov 2005 02:21:52 +0000 (GMT) (envelope-from fierykylin@gmail.com) Received: by xproxy.gmail.com with SMTP id t14so22712wxc for ; Fri, 04 Nov 2005 18:21:51 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=qETl+dcCMjTEir1PxYZ23r1m4w+a7ltV5LXQiUMcU7X+CNm5OOiDTJRTWbgo1Q2dc2uCT1w4LSpdEZtBn+TyG5RepWEsvh3O1sB4A5Mla+QxpdoQNnnyBmbSzcWYkZh8pmlKlGry40MxD/DgVTRnwmTpnFmTbDvCY/p8hIa1pP4= Received: by 10.70.7.20 with SMTP id 20mr2692805wxg; Fri, 04 Nov 2005 18:21:51 -0800 (PST) Received: by 10.70.18.16 with HTTP; Fri, 4 Nov 2005 18:21:51 -0800 (PST) Message-ID: <87ab37ab0511041821l611d4d2fkb22db7328920b4d2@mail.gmail.com> Date: Sat, 5 Nov 2005 10:21:51 +0800 From: kylin To: freebsd-questions@freebsd.org, "freebsd-hackers@freebsd.org" , freebsd-arch@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: 3 quizz about the freebsd DD arch X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Nov 2005 02:21:53 -0000 hello every one :) good day! i have list the 3 puzzle coming to me in my recent coding reading of freebs= d 0 /////////////// pci bridge dynamic resize ///////////// it seems that the device arch of freebsd is similar to what is revealed in window OS. i have read the pcie hotplug tps of windows longhorn ,it is said that with some hardware mechanisms the pci bridge driver can do global pci resource window reconfiguration.so good to the hotplugin pci device for it avoid prelocating resource for the device . i wonder ,if the mem /io/irq reconfiguration possible under freebsd .:) 1 ////////////// is bus_data_generation ///////// what idoes bus_data_generation for, is it the generation count for the device manager tree? void bus_data_generation_update(void) { bus_data_generation++; } 2 ////////////// pci_write_config vs pci_write_config_method ////////////// under the source code /dev/pci .there are functions name pci_write_config ( pcivar.h) and pci_write_config_method(pci.c) they both call the parent method ,though the content is different ,but does that a liitle overlap whit each other?