static void __init ppc7d_setup_arch(void){	int port;	loops_per_jiffy = 100000000 / HZ;#ifdef CONFIG_BLK_DEV_INITRD	if (initrd_start)		ROOT_DEV = Root_RAM0;	else#endif#ifdef	CONFIG_ROOT_NFS		ROOT_DEV = Root_NFS;#else		ROOT_DEV = Root_HDA1;#endif	if ((cur_cpu_spec[0]->cpu_features & CPU_FTR_SPEC7450) ||	    (cur_cpu_spec[0]->cpu_features & CPU_FTR_L3CR))		/* 745x is different.  We only want to pass along enable. */		_set_L2CR(L2CR_L2E);	else if (cur_cpu_spec[0]->cpu_features & CPU_FTR_L2CR)		/* All modules have 1MB of L2.  We also assume that an		 * L2 divisor of 3 will work.		 */		_set_L2CR(L2CR_L2E | L2CR_L2SIZ_1MB | L2CR_L2CLK_DIV3			  | L2CR_L2RAM_PIPE | L2CR_L2OH_1_0 | L2CR_L2DF);	if (cur_cpu_spec[0]->cpu_features & CPU_FTR_L3CR)		/* No L3 cache */		_set_L3CR(0);#ifdef CONFIG_DUMMY_CONSOLE	conswitchp = &dummy_con;#endif	/* Lookup PCI host bridges */	if (ppc_md.progress)		ppc_md.progress("ppc7d_setup_arch: calling setup_bridge", 0);	ppc7d_setup_bridge();	ppc7d_setup_peripherals();	/* Disable ethernet. It might have been setup by the bootrom */	for (port = 0; port < 3; port++)		mv64x60_write(&bh, MV643XX_ETH_RECEIVE_QUEUE_COMMAND_REG(port),			      0x0000ff00);	/* Clear queue pointers to ensure they are all initialized,	 * otherwise since queues 1-7 are unused, they have random	 * pointers which look strange in register dumps. Don't bother	 * with queue 0 since it will be initialized later.	 */	for (port = 0; port < 3; port++) {		mv64x60_write(&bh,			      MV643XX_ETH_RX_CURRENT_QUEUE_DESC_PTR_1(port),			      0x00000000);		mv64x60_write(&bh,			      MV643XX_ETH_RX_CURRENT_QUEUE_DESC_PTR_2(port),			      0x00000000);		mv64x60_write(&bh,			      MV643XX_ETH_RX_CURRENT_QUEUE_DESC_PTR_3(port),			      0x00000000);		mv64x60_write(&bh,			      MV643XX_ETH_RX_CURRENT_QUEUE_DESC_PTR_4(port),			      0x00000000);		mv64x60_write(&bh,			      MV643XX_ETH_RX_CURRENT_QUEUE_DESC_PTR_5(port),			      0x00000000);		mv64x60_write(&bh,			      MV643XX_ETH_RX_CURRENT_QUEUE_DESC_PTR_6(port),			      0x00000000);		mv64x60_write(&bh,			      MV643XX_ETH_RX_CURRENT_QUEUE_DESC_PTR_7(port),			      0x00000000);	}	printk(KERN_INFO "Radstone Technology PPC7D\n");	if (ppc_md.progress)		ppc_md.progress("ppc7d_setup_arch: exit", 0);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/a497aa20e5ea54fdee474192d6dc138b4832fc9e/radstone_ppc7d.c/clean/arch/ppc/platforms/radstone_ppc7d.c