/* spider_net_init_card initializes the card so that other registers can be used  */
static void spider_net_init_card(struct spider_net_card *card)
/* spider_net_init_card initializes the card so that other registers can be used  */
static void spider_net_init_card(struct spider_net_card *card)
{
	spider_net_write_reg(card, SPIDER_NET_CKRCTRL,
			     SPIDER_NET_CKRCTRL_STOP_VALUE);
	spider_net_write_reg(card, SPIDER_NET_CKRCTRL,
			     SPIDER_NET_CKRCTRL_RUN_VALUE);
	spider_net_write_reg(card, SPIDER_NET_GMACOPEMD,
		spider_net_read_reg(card, SPIDER_NET_GMACOPEMD) | 0x4);
	spider_net_disable_interrupts(card);
}