diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-06-11 09:22:02 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-06-22 21:15:36 -0400 |
commit | 2780cd64346782a6116e316c559d70a7655ab6e5 (patch) | |
tree | 71f501c688813dbf9998326a829f926e7766bba5 /arch/blackfin | |
parent | e56e03b0cfeb997a4be9ad874c193824364942e0 (diff) |
Blackfin: bf518f-ezbrd: update DSA resources
The common DSA code changed structure layout, so update the BF518F-EZBRD
resources accordingly.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/mach-bf518/boards/ezbrd.c | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/arch/blackfin/mach-bf518/boards/ezbrd.c b/arch/blackfin/mach-bf518/boards/ezbrd.c index 1382f0382359..d9791106be9f 100644 --- a/arch/blackfin/mach-bf518/boards/ezbrd.c +++ b/arch/blackfin/mach-bf518/boards/ezbrd.c | |||
@@ -119,13 +119,19 @@ static struct platform_device bfin_mac_device = { | |||
119 | }; | 119 | }; |
120 | 120 | ||
121 | #if defined(CONFIG_NET_DSA_KSZ8893M) || defined(CONFIG_NET_DSA_KSZ8893M_MODULE) | 121 | #if defined(CONFIG_NET_DSA_KSZ8893M) || defined(CONFIG_NET_DSA_KSZ8893M_MODULE) |
122 | static struct dsa_platform_data ksz8893m_switch_data = { | 122 | static struct dsa_chip_data ksz8893m_switch_chip_data = { |
123 | .mii_bus = &bfin_mii_bus.dev, | 123 | .mii_bus = &bfin_mii_bus.dev, |
124 | .port_names = { | ||
125 | NULL, | ||
126 | "eth%d", | ||
127 | "eth%d", | ||
128 | "cpu", | ||
129 | }, | ||
130 | }; | ||
131 | static struct dsa_platform_data ksz8893m_switch_data = { | ||
132 | .nr_chips = 1, | ||
124 | .netdev = &bfin_mac_device.dev, | 133 | .netdev = &bfin_mac_device.dev, |
125 | .port_names[0] = NULL, | 134 | .chip = &ksz8893m_switch_chip_data, |
126 | .port_names[1] = "eth%d", | ||
127 | .port_names[2] = "eth%d", | ||
128 | .port_names[3] = "cpu", | ||
129 | }; | 135 | }; |
130 | 136 | ||
131 | static struct platform_device ksz8893m_switch_device = { | 137 | static struct platform_device ksz8893m_switch_device = { |