Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187435
b: refs/heads/master
c: d7b222d
h: refs/heads/master
i:
  187433: e0e84f6
  187431: 3ee0719
v: v3
  • Loading branch information
John Holland authored and Nicolas Pitre committed Feb 23, 2010
1 parent 63ca388 commit de2d980
Show file tree
Hide file tree
Showing 2 changed files with 11 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: d8ecb3490050b33bf46ce77c7f239e0fc51a6835
refs/heads/master: d7b222d708e6eff0cf47928f439c8bcf49f10bb6
10 changes: 10 additions & 0 deletions trunk/arch/arm/mach-kirkwood/sheevaplug-setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/ata_platform.h>
#include <linux/mtd/partitions.h>
#include <linux/mv643xx_eth.h>
#include <linux/gpio.h>
Expand Down Expand Up @@ -42,6 +43,10 @@ static struct mv643xx_eth_platform_data sheevaplug_ge00_data = {
.phy_addr = MV643XX_ETH_PHY_ADDR(0),
};

static struct mv_sata_platform_data sheeva_esata_sata_data = {
.n_ports = 2,
};

static struct mvsdio_platform_data sheevaplug_mvsdio_data = {
/* unfortunately the CD signal has not been connected */
};
Expand Down Expand Up @@ -91,6 +96,11 @@ static void __init sheevaplug_init(void)
kirkwood_ehci_init();

kirkwood_ge00_init(&sheevaplug_ge00_data);

/* honor lower power consumption for plugs with out eSATA */
if (machine_is_sheeva_esata())
kirkwood_sata_init(&sheeva_esata_sata_data);

kirkwood_sdio_init(&sheevaplug_mvsdio_data);

platform_device_register(&sheevaplug_leds);
Expand Down

0 comments on commit de2d980

Please sign in to comment.