pdata->set_speed = ath79_set_speed_dummy;
pdata->speed = SPEED_1000;
+ pdata->has_gbit = 1;
pdata->duplex = DUPLEX_FULL;
pdata->switch_data = &ath79_switch_data;
ath79_switch_data.phy_poll_mask |= BIT(4);
}
- pdata->has_gbit = 1;
pdata->is_ar724x = 1;
if (!pdata->fifo_cfg1)
/* Reset the device */
ath79_device_reset_set(pdata->reset_bit);
- mdelay(100);
+ msleep(100);
ath79_device_reset_clear(pdata->reset_bit);
- mdelay(100);
+ msleep(100);
platform_device_register(pdev);
ath79_eth_instance++;