|
@@ -342,7 +342,7 @@ static void sh_eth_select_mii(struct net_device *ndev)
|
|
|
#endif
|
|
|
|
|
|
/* There is CPU dependent code */
|
|
|
-#if defined(CONFIG_ARCH_R8A7779)
|
|
|
+#if defined(CONFIG_ARCH_R8A7778) || defined(CONFIG_ARCH_R8A7779)
|
|
|
#define SH_ETH_RESET_DEFAULT 1
|
|
|
static void sh_eth_set_duplex(struct net_device *ndev)
|
|
|
{
|
|
@@ -370,7 +370,7 @@ static void sh_eth_set_rate(struct net_device *ndev)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-/* R8A7779 */
|
|
|
+/* R8A7778/9 */
|
|
|
static struct sh_eth_cpu_data sh_eth_my_cpu_data = {
|
|
|
.set_duplex = sh_eth_set_duplex,
|
|
|
.set_rate = sh_eth_set_rate,
|