This patch fixes up k8 for the new resource allocator. It splits
northbridge functions and makes devices children of the northbridge. northbridge/amd/k8/domain.c: Add the functions from k8/pci.c that belong to the domain. Add support for physical link numbers in resource indices. Combine find_iopair and find_mempair to find_regpair. northbridge/amd/k8/pci.c: Remove functions that went to the domain. device/hypertransport.c: Add support for HT connections from devices that aren't the bus controller. device/hypertransport.h: Change the prototype of hypertransport_scan_chain. northbridge/amd/k8/pci: Take out bridge flag. mainboard/amd/serengeti/stage1.c Change first register usage. Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://coreboot.org/repository/coreboot-v3@1094 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
3c6580c888
commit
bdc76a22a0
6 changed files with 538 additions and 699 deletions
|
|
@ -21,8 +21,10 @@
|
|||
#include <device/device.h>
|
||||
#include <device/hypertransport_def.h>
|
||||
|
||||
unsigned int hypertransport_scan_chain(struct bus *bus,
|
||||
unsigned min_devfn, unsigned max_devfn, unsigned int max, unsigned *ht_unit_base, unsigned offset_unitid);
|
||||
unsigned int hypertransport_scan_chain(struct device* parent, struct bus *bus,
|
||||
unsigned min_devfn, unsigned max_devfn,
|
||||
unsigned int max, unsigned *ht_unit_base,
|
||||
unsigned offset_unitid);
|
||||
unsigned int ht_scan_bridge(struct device *dev, unsigned int max);
|
||||
extern const struct device_operations default_ht_ops_bus;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue