1 The mv643xx_eth platform data field ->force_phy_addr only needs
2 to be set if the passed-in ->phy_addr field is zero (to distinguish
3 the case of not having specified a phy address
4 (force_phy_addr = 0) from the case where a phy address of zero needs
5 to be used (force_phy_addr = 1.))
7 Also, the ->force_phy_addr field will hopefully disappear in a
8 future mv643xx_eth reorganisation.
10 Therefore, this patch deletes the ->force_phy_addr field initialiser
11 from all Orion board code.
13 Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
15 arch/arm/mach-orion5x/db88f5281-setup.c | 1 -
16 arch/arm/mach-orion5x/dns323-setup.c | 1 -
17 arch/arm/mach-orion5x/kurobox_pro-setup.c | 1 -
18 arch/arm/mach-orion5x/rd88f5182-setup.c | 1 -
19 arch/arm/mach-orion5x/ts209-setup.c | 1 -
20 5 files changed, 0 insertions(+), 5 deletions(-)
22 --- a/arch/arm/mach-orion5x/db88f5281-setup.c
23 +++ b/arch/arm/mach-orion5x/db88f5281-setup.c
25 ****************************************************************************/
26 static struct mv643xx_eth_platform_data db88f5281_eth_data = {
28 - .force_phy_addr = 1,
31 /*****************************************************************************
32 --- a/arch/arm/mach-orion5x/dns323-setup.c
33 +++ b/arch/arm/mach-orion5x/dns323-setup.c
36 static struct mv643xx_eth_platform_data dns323_eth_data = {
38 - .force_phy_addr = 1,
41 /****************************************************************************
42 --- a/arch/arm/mach-orion5x/kurobox_pro-setup.c
43 +++ b/arch/arm/mach-orion5x/kurobox_pro-setup.c
46 static struct mv643xx_eth_platform_data kurobox_pro_eth_data = {
48 - .force_phy_addr = 1,
51 /*****************************************************************************
52 --- a/arch/arm/mach-orion5x/rd88f5182-setup.c
53 +++ b/arch/arm/mach-orion5x/rd88f5182-setup.c
56 static struct mv643xx_eth_platform_data rd88f5182_eth_data = {
58 - .force_phy_addr = 1,
61 /*****************************************************************************
62 --- a/arch/arm/mach-orion5x/ts209-setup.c
63 +++ b/arch/arm/mach-orion5x/ts209-setup.c
66 static struct mv643xx_eth_platform_data qnap_ts209_eth_data = {
68 - .force_phy_addr = 1,
71 static int __init parse_hex_nibble(char n)