/* Hook up RTC. We couldn't do this earlier because we need the I2C subsystem */ ppc_md.set_rtc_time = ppc7d_set_rtc_time; ppc_md.get_rtc_time = ppc7d_get_rtc_time;  
static void ppc7d_init2(void){	unsigned long flags;	u32 data;	u8 data8;	pr_debug("%s: enter\n", __FUNCTION__);	/* Wait for debugger? */	if (ppc7d_wait_debugger) {		printk("Waiting for debugger...\n");		while (readl(&ppc7d_wait_debugger)) ;	}	/* Hook up i8259 interrupt which is connected to GPP28 */	request_irq(mv64360_irq_base + MV64x60_IRQ_GPP28, ppc7d_i8259_intr,		    SA_INTERRUPT, "I8259 (GPP28) interrupt", (void *)0);	/* Configure MPP16 as watchdog NMI, MPP17 as watchdog WDE */	spin_lock_irqsave(&mv64x60_lock, flags);	data = mv64x60_read(&bh, MV64x60_MPP_CNTL_2);	data &= ~(0x0000000f << 0);	data |= (0x00000004 << 0);	data &= ~(0x0000000f << 4);	data |= (0x00000004 << 4);	mv64x60_write(&bh, MV64x60_MPP_CNTL_2, data);	spin_unlock_irqrestore(&mv64x60_lock, flags);	/* All LEDs off */	data8 = inb(PPC7D_CPLD_LEDS);	data8 &= ~0x08;	data8 |= 0x07;	outb(data8, PPC7D_CPLD_LEDS);	pr_debug("%s: exit\n", __FUNCTION__);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/a497aa20e5ea54fdee474192d6dc138b4832fc9e/radstone_ppc7d.c/clean/arch/ppc/platforms/radstone_ppc7d.c