Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 153865
b: refs/heads/master
c: 2780cd6
h: refs/heads/master
i:
  153863: 6214b30
v: v3
  • Loading branch information
Mike Frysinger committed Jun 23, 2009
1 parent 4a2503d commit b35ecd8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e56e03b0cfeb997a4be9ad874c193824364942e0
refs/heads/master: 2780cd64346782a6116e316c559d70a7655ab6e5
16 changes: 11 additions & 5 deletions trunk/arch/blackfin/mach-bf518/boards/ezbrd.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,19 @@ static struct platform_device bfin_mac_device = {
};

#if defined(CONFIG_NET_DSA_KSZ8893M) || defined(CONFIG_NET_DSA_KSZ8893M_MODULE)
static struct dsa_platform_data ksz8893m_switch_data = {
static struct dsa_chip_data ksz8893m_switch_chip_data = {
.mii_bus = &bfin_mii_bus.dev,
.port_names = {
NULL,
"eth%d",
"eth%d",
"cpu",
},
};
static struct dsa_platform_data ksz8893m_switch_data = {
.nr_chips = 1,
.netdev = &bfin_mac_device.dev,
.port_names[0] = NULL,
.port_names[1] = "eth%d",
.port_names[2] = "eth%d",
.port_names[3] = "cpu",
.chip = &ksz8893m_switch_chip_data,
};

static struct platform_device ksz8893m_switch_device = {
Expand Down

0 comments on commit b35ecd8

Please sign in to comment.