/* fix_mac_address - Fix for Mac addr problem on Alpha platforms @sp: Pointer to device specifc structure Description : New procedure to clear mac address reading problems on Alpha platforms  */
static void fix_mac_address(struct s2io_nic *sp)
/* fix_mac_address - Fix for Mac addr problem on Alpha platforms @sp: Pointer to device specifc structure Description : New procedure to clear mac address reading problems on Alpha platforms  */
static void fix_mac_address(struct s2io_nic *sp)
{
	struct XENA_dev_config __iomem *bar0 = sp->bar0;
	u64 val64;
	int i = 0;
	while (fix_mac[i] != END_SIGN) {
		writeq(fix_mac[i++], &bar0->gpio_control);
		udelay(10);
		val64 = readq(&bar0->gpio_control);
	}
}