]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Change the various AGP drivers that attach to the Host-PCI bridge device to
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 20 Dec 2005 21:12:26 +0000 (21:12 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 20 Dec 2005 21:12:26 +0000 (21:12 +0000)
commitc626f1fe9a7d794d4a0806eafbc08a44ca060747
tree423ebde323b37c09560ecbdbcf618bd674eaf7dc
parent5b2119223eb7dafa4f314e0773582a32877d7929
Change the various AGP drivers that attach to the Host-PCI bridge device to
attach to the hostb driver instead.  This means that agp can now be loaded
at runtime (in theory at least).  Also, the drivers no longer have to
explicity call device_verbose() to cancel out any earlier calls to
device_quiet() by the hostb(4) driver (this shows a limitation in new-bus,
drivers really shouldn't be doing device_quiet() until they know they are
going to drive that device, i.e. in attach).
16 files changed:
sys/dev/agp/agp_ali.c
sys/dev/agp/agp_amd.c
sys/dev/agp/agp_amd64.c
sys/dev/agp/agp_ati.c
sys/dev/agp/agp_intel.c
sys/dev/agp/agp_nvidia.c
sys/dev/agp/agp_sis.c
sys/dev/agp/agp_via.c
sys/pci/agp_ali.c
sys/pci/agp_amd.c
sys/pci/agp_amd64.c
sys/pci/agp_ati.c
sys/pci/agp_intel.c
sys/pci/agp_nvidia.c
sys/pci/agp_sis.c
sys/pci/agp_via.c