summaryrefslogtreecommitdiff
path: root/src/devices/hypertransport.c
diff options
context:
space:
mode:
authorYinghai Lu <yinghailu@gmail.com>2006-04-03 20:38:34 +0000
committerYinghai Lu <yinghailu@gmail.com>2006-04-03 20:38:34 +0000
commit9a791dffeae2097aa0a18f645ce07acfed41b9bc (patch)
tree2d0359536fe3c1a0c313440b6be4ed09397dade9 /src/devices/hypertransport.c
parentffb7d8a31ae899f611235cd0a7f3579d34cd8cde (diff)
new cache_as_ram support
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2232 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/devices/hypertransport.c')
-rw-r--r--src/devices/hypertransport.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/devices/hypertransport.c b/src/devices/hypertransport.c
index 10d4420fee..c61efa6c7b 100644
--- a/src/devices/hypertransport.c
+++ b/src/devices/hypertransport.c
@@ -424,17 +424,8 @@ unsigned int hypertransport_scan_chain(struct bus *bus,
}
flags &= ~0x1f; /* mask out base Unit ID */
-#if CK804_DEVN_BASE==0
- if((dev->vendor == 0x10de) && (dev->device == 0x005e)) {
- next_unitid = 0;
- }
- else {
-#endif
flags |= next_unitid & 0x1f;
pci_write_config16(dev, pos + PCI_CAP_FLAGS, flags);
-#if CK804_DEVN_BASE==0
- }
-#endif
/* Update the Unitd id in the device structure */
static_count = 1;
@@ -473,11 +464,6 @@ unsigned int hypertransport_scan_chain(struct bus *bus,
dev->vendor, dev->device,
(dev->enabled? "enabled": "disabled"), next_unitid);
-#if CK804_DEVN_BASE==0
- if ((dev->vendor == 0x10de) && (dev->device == 0x005e)) {
- break; // CK804 can not change unitid, so it only can be alone in the link
- }
-#endif
} while((last_unitid != next_unitid) && (next_unitid <= (max_devfn >> 3)));
end_of_chain: