sconfig: rename pci_domain -> domain
The name pci_domain was a bit misleading, since the construct is only PCI specific in a particular (northbridge/cpu) implementation, but not by concept. As implementations and hardware change, be more generic about our naming. This will allow us to support non-PCI systems without adding new keywords. Change-Id: Ide885a1d5e15d37560c79b936a39252150560e85 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/2376 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
committed by
Ronald G. Minnich
parent
dc8259ce1d
commit
4aff4458f5
@@ -205,9 +205,9 @@ const char *dev_path(device_t dev)
|
||||
sprintf(buffer, "IOAPIC: %02x",
|
||||
dev->path.ioapic.ioapic_id);
|
||||
break;
|
||||
case DEVICE_PATH_PCI_DOMAIN:
|
||||
sprintf(buffer, "PCI_DOMAIN: %04x",
|
||||
dev->path.pci_domain.domain);
|
||||
case DEVICE_PATH_DOMAIN:
|
||||
sprintf(buffer, "DOMAIN: %04x",
|
||||
dev->path.domain.domain);
|
||||
break;
|
||||
case DEVICE_PATH_APIC_CLUSTER:
|
||||
sprintf(buffer, "APIC_CLUSTER: %01x",
|
||||
@@ -271,8 +271,8 @@ int path_eq(struct device_path *path1, struct device_path *path2)
|
||||
case DEVICE_PATH_APIC:
|
||||
equal = (path1->apic.apic_id == path2->apic.apic_id);
|
||||
break;
|
||||
case DEVICE_PATH_PCI_DOMAIN:
|
||||
equal = (path1->pci_domain.domain == path2->pci_domain.domain);
|
||||
case DEVICE_PATH_DOMAIN:
|
||||
equal = (path1->domain.domain == path2->domain.domain);
|
||||
break;
|
||||
case DEVICE_PATH_APIC_CLUSTER:
|
||||
equal = (path1->apic_cluster.cluster
|
||||
|
Reference in New Issue
Block a user