};
static struct mv643xx_eth_platform_data tk71_ge01_data = {
- .phy_addr = MV643XX_ETH_PHY_ADDR(/*24*/ 28),
+ .phy_addr = MV643XX_ETH_PHY_ADDR(28),
/* in case a hardcoded MAC address is needed uncomment next line */
/* .mac_addr = {0x00, 0x0c, 0xc6, 0x76, 0x76, 0x2c}, */
};
/* eth1 */
if (gpio_request(28, "PHY2 reset") != 0 ||
- gpio_direction_input(28) != 0) // high-z
- printk(KERN_ERR "can't deassert GPIO 28 (PHY2 reset)\n");
+ gpio_direction_input(28) != 0) /* high-z */
+ pr_err("can't deassert GPIO 28 (PHY2 reset)\n");
else
kirkwood_ge01_init(&tk71_ge01_data);
if (gpio_request(34, "SDIO Power Enable") != 0 ||
gpio_direction_output(34, 0) != 0) /* low active */
- printk(KERN_ERR "can't set up GPIO 34 (SDIO Power Enable)\n");
+ pr_err("can't set up GPIO 34 (SDIO Power Enable)\n");
kirkwood_sdio_init(&tk71_mvsdio_data);
}