if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5780) 
if (tp->tg3_flags2 & TG3_FLG2_5780_CLASS) 
static void tg3_switch_clocks(struct tg3 *tp){	u32 clock_ctrl = tr32(TG3PCI_CLOCK_CTRL);	u32 orig_clock_ctrl;	if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5780)		return;	orig_clock_ctrl = clock_ctrl;	clock_ctrl &= (CLOCK_CTRL_FORCE_CLKRUN |		       CLOCK_CTRL_CLKRUN_OENABLE |		       0x1f);	tp->pci_clock_ctrl = clock_ctrl;	if (tp->tg3_flags2 & TG3_FLG2_5705_PLUS) {		if (orig_clock_ctrl & CLOCK_CTRL_625_CORE) {			tw32_f(TG3PCI_CLOCK_CTRL,			       clock_ctrl | CLOCK_CTRL_625_CORE);			udelay(40);		}	} else if ((orig_clock_ctrl & CLOCK_CTRL_44MHZ_CORE) != 0) {		tw32_f(TG3PCI_CLOCK_CTRL,		     clock_ctrl |		     (CLOCK_CTRL_44MHZ_CORE | CLOCK_CTRL_ALTCLK));		udelay(40);		tw32_f(TG3PCI_CLOCK_CTRL,		     clock_ctrl | (CLOCK_CTRL_ALTCLK));		udelay(40);	}	tw32_f(TG3PCI_CLOCK_CTRL, clock_ctrl);	udelay(40);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/a4e2b347848bf626b822599329933887dc90e50f/tg3.c/clean/drivers/net/tg3.c