kernels/linux-2.4.0/arch/mips/cobalt/cobaltscc.c
/*
 * Function: SccWrite
 *
 * Description: Write a null terminated string to the SCC 
 * In: C string
 * Out: none
 */
SccWrite
Description: Write a null terminated string to the SCC
In: C string
Out: none
SccWrite Description : Write a null terminated string to the SCC In : C string Out : none
void SccWrite(const unsigned char *string)
{
	while((*string) != 0) { 
		if (*string == 10)
			SccOutb((unsigned char) 13);
		SccOutb(*(string++));
	}
}
void SccWrite ( const unsigned char * string ) { while ( ( * string ) != 0 ) { if ( * string == 10 ) SccOutb ( ( unsigned char ) 13 ) ; SccOutb ( * ( string ++ ) ) ; } }
Function: SccWrite
 Description: Write a null terminated string to the SCC
 In: C string
 Out: none
Function : SccWrite Description : Write a null terminated string to the SCC In : C string Out : none