From 5b772cca556bd4d5544a6da49c59f51709921766 Mon Sep 17 00:00:00 2001 From: Yinghai Lu Date: Fri, 24 Dec 2004 04:42:59 +0000 Subject: [PATCH] default link bug fix git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1830 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/amd/amdk8/coherent_ht.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/northbridge/amd/amdk8/coherent_ht.c b/src/northbridge/amd/amdk8/coherent_ht.c index 3b20b62d3..a31ba974a 100644 --- a/src/northbridge/amd/amdk8/coherent_ht.c +++ b/src/northbridge/amd/amdk8/coherent_ht.c @@ -575,7 +575,7 @@ static struct setup_smp_result setup_smp(void) /* We found 2 nodes so far */ val = pci_read_config32(NODE_HT(7), 0x6c); - byte = (val>2) & 0x3; // get default link on 7 to 0 + byte = (val>>2) & 0x3; // get default link on 7 to 0 setup_row_local(7,1); setup_remote_row_direct(1, 0, byte); @@ -599,7 +599,7 @@ static struct setup_smp_result setup_smp(void) /* We found 2 nodes so far */ val = pci_read_config32(NODE_HT(7), 0x6c); - byte = (val>2) & 0x3; // get default link on 7 to 0 + byte = (val>>2) & 0x3; // get default link on 7 to 0 setup_row_local(7,1); setup_remote_row_direct(1, 0, byte); } @@ -676,7 +676,7 @@ static struct setup_smp_result setup_smp(void) setup_temp_row(0,2); val = pci_read_config32(NODE_HT(7), 0x6c); - byte = (val>2) & 0x3; // get default link on 7 to 0 + byte = (val>>2) & 0x3; // get default link on 7 to 0 setup_row_local(7,2); setup_remote_row_direct(2, 0, byte); @@ -690,7 +690,7 @@ static struct setup_smp_result setup_smp(void) setup_temp_row(1,3); val = pci_read_config32(NODE_HT(7), 0x6c); - byte = (val>2) & 0x3; // get default link on 7 to 0 + byte = (val>>2) & 0x3; // get default link on 7 to 0 setup_row_local(7,3); setup_remote_row_direct(3, 1, byte); @@ -854,7 +854,7 @@ static struct setup_smp_result setup_smp(void) setup_temp_row(byte,byte+2); } val = pci_read_config32(NODE_HT(7), 0x6c); - byte = (val>2) & 0x3; // get default link on 7 to 0 + byte = (val>>2) & 0x3; // get default link on 7 to 0 setup_row_local(7,4); setup_remote_row_direct(4, 2, byte); @@ -868,7 +868,7 @@ static struct setup_smp_result setup_smp(void) } val = pci_read_config32(NODE_HT(7), 0x6c); - byte = (val>2) & 0x3; // get default link on 7 to 0 + byte = (val>>2) & 0x3; // get default link on 7 to 0 setup_row_local(7,5); setup_remote_row_direct(5, 3, byte); setup_remote_node(5); /* Setup the regs on the remote node */ @@ -1058,7 +1058,7 @@ static struct setup_smp_result setup_smp(void) setup_temp_row(byte,byte+2); } val = pci_read_config32(NODE_HT(7), 0x6c); - byte = (val>2) & 0x3; // get default link on 7 to 0 + byte = (val>>2) & 0x3; // get default link on 7 to 0 setup_row_local(7,6); setup_remote_row_direct(6, 4, byte); @@ -1073,7 +1073,7 @@ static struct setup_smp_result setup_smp(void) } val = pci_read_config32(NODE_HT(7), 0x6c); - byte = (val>2) & 0x3; // get default link on 7 to 0 + byte = (val>>2) & 0x3; // get default link on 7 to 0 setup_row_local(7,7); setup_remote_row_direct(7, 5, byte); @@ -1083,7 +1083,7 @@ static struct setup_smp_result setup_smp(void) } setup_temp_row(4,7); val = pci_read_config32(NODE_HT(7), 0x6c); - byte = (val>2) & 0x3; // get default link on 7 to 0 + byte = (val>>2) & 0x3; // get default link on 7 to 0 setup_row_local(7,7); setup_remote_row_direct(7, 4, byte); @@ -1126,7 +1126,7 @@ static struct setup_smp_result setup_smp(void) check_connection(7); } val = pci_read_config32(NODE_HT(7), 0x6c); - byte = (val>2) & 0x3; // get default link on 7 to 0 + byte = (val>>2) & 0x3; // get default link on 7 to 0 // setup_row_local(7,7); setup_remote_row_direct(7, 5, byte); //Till now 57, 75 done @@ -1164,7 +1164,7 @@ static struct setup_smp_result setup_smp(void) check_connection(7); } val = pci_read_config32(NODE_HT(7), 0x6c); - byte = (val>2) & 0x3; // get default link on 7 to 0 + byte = (val>>2) & 0x3; // get default link on 7 to 0 // setup_row_local(7,7); setup_remote_row_direct(7, 6, byte); //Till now 67, 76 done -- 2.25.1