Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 234158
b: refs/heads/master
c: bf3a1eb
h: refs/heads/master
v: v3
  • Loading branch information
Florian Fainelli authored and Ralf Baechle committed Mar 14, 2011
1 parent 8b77d6d commit 5baa2a5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ab5330eb26327675d28df19a8ab257c928c6a3bd
refs/heads/master: bf3a1eb85967dcbaae42f4fcb53c2392cec32677
9 changes: 9 additions & 0 deletions trunk/arch/mips/alchemy/mtx-1/platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
#include <linux/mtd/physmap.h>
#include <mtd/mtd-abi.h>

#include <asm/mach-au1x00/au1xxx_eth.h>

static struct gpio_keys_button mtx1_gpio_button[] = {
{
.gpio = 207,
Expand Down Expand Up @@ -140,10 +142,17 @@ static struct __initdata platform_device * mtx1_devs[] = {
&mtx1_mtd,
};

static struct au1000_eth_platform_data mtx1_au1000_eth0_pdata = {
.phy_search_highest_addr = 1,
.phy1_search_mac0 = 1,
};

static int __init mtx1_register_devices(void)
{
int rc;

au1xxx_override_eth_cfg(0, &mtx1_au1000_eth0_pdata);

rc = gpio_request(mtx1_gpio_button[0].gpio,
mtx1_gpio_button[0].desc);
if (rc < 0) {
Expand Down

0 comments on commit 5baa2a5

Please sign in to comment.