Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Nov 2005 10:21:51 +0800
From:      kylin <fierykylin@gmail.com>
To:        freebsd-questions@freebsd.org,  "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>,  freebsd-arch@freebsd.org
Subject:   3 quizz about the freebsd DD arch
Message-ID:  <87ab37ab0511041821l611d4d2fkb22db7328920b4d2@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87ab37ab0511041821l611d4d2fkb22db7328920b4d2>