diff options
-rw-r--r-- | arch/sh/kernel/cpu/sh2/setup-sh7619.c | 4 | ||||
-rw-r--r-- | drivers/net/ethernet/renesas/sh_eth.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/arch/sh/kernel/cpu/sh2/setup-sh7619.c b/arch/sh/kernel/cpu/sh2/setup-sh7619.c index e0b740c831c7..bb11e1925178 100644 --- a/arch/sh/kernel/cpu/sh2/setup-sh7619.c +++ b/arch/sh/kernel/cpu/sh2/setup-sh7619.c | |||
@@ -124,8 +124,8 @@ static struct resource eth_resources[] = { | |||
124 | }; | 124 | }; |
125 | 125 | ||
126 | static struct platform_device eth_device = { | 126 | static struct platform_device eth_device = { |
127 | .name = "sh-eth", | 127 | .name = "sh7619-ether", |
128 | .id = -1, | 128 | .id = -1, |
129 | .dev = { | 129 | .dev = { |
130 | .platform_data = (void *)1, | 130 | .platform_data = (void *)1, |
131 | }, | 131 | }, |
diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/ethernet/renesas/sh_eth.c index f26546aa1792..e0568a9352e5 100644 --- a/drivers/net/ethernet/renesas/sh_eth.c +++ b/drivers/net/ethernet/renesas/sh_eth.c | |||
@@ -680,9 +680,9 @@ static struct sh_eth_cpu_data sh_eth_my_cpu_data = { | |||
680 | .tsu = 1, | 680 | .tsu = 1, |
681 | .select_mii = 1, | 681 | .select_mii = 1, |
682 | }; | 682 | }; |
683 | #endif | ||
683 | 684 | ||
684 | #elif defined(CONFIG_CPU_SUBTYPE_SH7619) | 685 | static struct sh_eth_cpu_data sh7619_data = { |
685 | static struct sh_eth_cpu_data sh_eth_my_cpu_data = { | ||
686 | .eesipr_value = DMAC_M_RFRMER | DMAC_M_ECI | 0x003fffff, | 686 | .eesipr_value = DMAC_M_RFRMER | DMAC_M_ECI | 0x003fffff, |
687 | 687 | ||
688 | .apr = 1, | 688 | .apr = 1, |
@@ -690,7 +690,6 @@ static struct sh_eth_cpu_data sh_eth_my_cpu_data = { | |||
690 | .tpauser = 1, | 690 | .tpauser = 1, |
691 | .hw_swap = 1, | 691 | .hw_swap = 1, |
692 | }; | 692 | }; |
693 | #endif | ||
694 | 693 | ||
695 | static struct sh_eth_cpu_data sh771x_data = { | 694 | static struct sh_eth_cpu_data sh771x_data = { |
696 | .eesipr_value = DMAC_M_RFRMER | DMAC_M_ECI | 0x003fffff, | 695 | .eesipr_value = DMAC_M_RFRMER | DMAC_M_ECI | 0x003fffff, |
@@ -2700,6 +2699,7 @@ static const struct dev_pm_ops sh_eth_dev_pm_ops = { | |||
2700 | #endif | 2699 | #endif |
2701 | 2700 | ||
2702 | static struct platform_device_id sh_eth_id_table[] = { | 2701 | static struct platform_device_id sh_eth_id_table[] = { |
2702 | { "sh7619-ether", (kernel_ulong_t)&sh7619_data }, | ||
2703 | { "sh771x-ether", (kernel_ulong_t)&sh771x_data }, | 2703 | { "sh771x-ether", (kernel_ulong_t)&sh771x_data }, |
2704 | { CARDNAME }, | 2704 | { CARDNAME }, |
2705 | { } | 2705 | { } |