print_rtc_status(); 
print_rtc_status(); 
ds1302_probe(void) {	int retval, res; 	TK_RST_DIR(1);	TK_SCL_DIR(1);	TK_SDA_DIR(0);		/* Try to talk to timekeeper. */	ds1302_wenable();  	start();	out_byte(0xc0); /* write RAM byte 0 */		out_byte(MAGIC_PATTERN); /* write something magic */	start();	out_byte(0xc1); /* read RAM byte 0 */	if((res = in_byte()) == MAGIC_PATTERN) {		stop();		ds1302_wdisable();		printk(KERN_INFO "%s: RTC found.\n", ds1302_name);		printk(KERN_INFO "%s: SDA, SCL, RST on PB%i, PB%i, %s%i\n",		       ds1302_name,		       CONFIG_ETRAX_DS1302_SDABIT,		       CONFIG_ETRAX_DS1302_SCLBIT,#ifdef CONFIG_ETRAX_DS1302_RST_ON_GENERIC_PORT		       "GENIO",#else		       "PB",#endif		       CONFIG_ETRAX_DS1302_RSTBIT);                print_rtc_status();		retval = 1;	} else {		stop();		retval = 0;	}	return retval;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/7e9204265b4ec6680fad9abc7a78b94087983916/ds1302.c/clean/arch/cris/arch-v10/drivers/ds1302.c