summaryrefslogtreecommitdiffstats
path: root/src/usr/scan
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2012-11-05 10:23:25 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-12-14 11:24:36 -0600
commit950ddd853b2044956d82d17ae67bfe222e49fded (patch)
tree8e5ce7943e61099ecb5b86828f706ecd6fa672d3 /src/usr/scan
parent72c7d197703ed889940358611d8164d176af7c65 (diff)
downloadtalos-hostboot-950ddd853b2044956d82d17ae67bfe222e49fded.tar.gz
talos-hostboot-950ddd853b2044956d82d17ae67bfe222e49fded.zip
Reduce trace buffer sizes.
Change-Id: I13a80f814fd13a30315320c0b0c7374f39c3ecc2 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2522 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/scan')
-rw-r--r--src/usr/scan/scandd.C14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/usr/scan/scandd.C b/src/usr/scan/scandd.C
index 9058a069d..a96ddfeda 100644
--- a/src/usr/scan/scandd.C
+++ b/src/usr/scan/scandd.C
@@ -50,10 +50,10 @@
// Trace definitions
// ----------------------------------------------
trace_desc_t* g_trac_scandd = NULL;
-TRAC_INIT( & g_trac_scandd, "SCANDD", 4096 );
+TRAC_INIT( & g_trac_scandd, "SCANDD", KILOBYTE );
trace_desc_t* g_trac_scanddr = NULL;
-TRAC_INIT( & g_trac_scanddr, "SCANDDR", 4096 );
+TRAC_INIT( & g_trac_scanddr, "SCANDDR", KILOBYTE );
// ----------------------------------------------
@@ -319,7 +319,7 @@ errlHndl_t scanDoScan( DeviceFW::OperationType i_opType,
}
// If this is a centaur chip need to read the header
- // data area first before the header Write.
+ // data area first before the header Write.
if (l_isCentaur)
{
// Do a scom write to the scan type select register
@@ -351,7 +351,7 @@ errlHndl_t scanDoScan( DeviceFW::OperationType i_opType,
l_buffer,
op_size,
DEVICE_SCOM_ADDRESS(l_headerDataAddr));
-
+
TRACDCOMP( g_trac_scandd,"SCAN:Headr PUTSCOM %.8x = %.8x %.8x",l_headerDataAddr , l_buffer[0], l_buffer[1]);
if(l_err)
@@ -388,7 +388,7 @@ errlHndl_t scanDoScan( DeviceFW::OperationType i_opType,
uint32_t *temp_buffer = (uint32_t *)io_buffer;
// Need to increment the buffer by 1 to get past word0 which is the
- // header that we wrote to already above.
+ // header that we wrote to already above.
temp_buffer++;
// decrement the number of words to read by 1 because read header above
l_wordsInChain--;
@@ -500,7 +500,7 @@ errlHndl_t scanDoScan( DeviceFW::OperationType i_opType,
// If this is a scan Write
if ( DeviceFW::WRITE == i_opType )
{
- // If this is not a Centaur chip then do the setpulse here.
+ // If this is not a Centaur chip then do the setpulse here.
if (!l_isCentaur)
{
// If this is the last iteration and set pulse is requested
@@ -612,7 +612,7 @@ errlHndl_t scanDoScan( DeviceFW::OperationType i_opType,
break;
}
- // If header check on.. then need to verify the data.
+ // If header check on.. then need to verify the data.
if (!(i_flag & SCAN::NO_HEADER_CHECK))
{
// If the header data did not match..
OpenPOWER on IntegriCloud