kernels/linux-2.4.0/arch/ppc/mbxboot/embed_config.c
/* Build a board information structure for the BSE ip-Engine.
 * There is more to come since we will add some environment
 * variables and a function to read them.
 */
Build a board information structure for the BSE ip-Engine.
There is more to come since we will add some environment
variables and a function to read them.
Build a board information structure for the BSE ip - Engine . There is more to come since we will add some environment variables and a function to read them .
void
bseip_cfg(bd_t *bd)
{
	u_char	*cp;
	int	i;
	bd->bi_baudrate = 9600;
	cp = (u_char *)0xfe003ffa;
	for (i=0; i<6; i++) {
		bd->bi_enetaddr[i] = *cp++;
	}
	bd->bi_memstart = 0;
	bd->bi_memsize = (16 * 1024 * 1024);
	bd->bi_intfreq = 48;
	bd->bi_busfreq = 48;
}
void bseip_cfg ( bd_t * bd ) { u_char * cp ; int i ; bd -> bi_baudrate = 9600 ; cp = ( u_char * ) 0xfe003ffa ; for ( i = 0 ; i < 6 ; i ++ ) { bd -> bi_enetaddr [ i ] = * cp ++ ; } bd -> bi_memstart = 0 ; bd -> bi_memsize = ( 16 * 1024 * 1024 ) ; bd -> bi_intfreq = 48 ; bd -> bi_busfreq = 48 ; }
Build a board information structure for the BSE ip-Engine.
Build a board information structure for the BSE ip - Engine .
/* Baud rate and processor speed will eventually come
	 * from the environment variables.
	 */ /* Get the Ethernet station address from the Flash ROM.
	*/ /* The rest of this should come from the environment as well.
	*/