From 32f3311b87ab2a2166e80a2637c8e4f56769c18f Mon Sep 17 00:00:00 2001 From: Magnus Damm Date: Wed, 23 Apr 2008 20:18:04 +0900 Subject: [PATCH] --- yaml --- r: 96281 b: refs/heads/master c: 57b84f2b674228e61d7e7b05493aa819244a7b56 h: refs/heads/master i: 96279: 59c1c82e96c1438e04705ca005754d23b8d708bc v: v3 --- [refs] | 2 +- trunk/arch/sh/boards/se/7722/setup.c | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index b1a8a00dc991..955f4fa043e1 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8a3ee0fc8fe3a7ad89997619ceed555288cf8366 +refs/heads/master: 57b84f2b674228e61d7e7b05493aa819244a7b56 diff --git a/trunk/arch/sh/boards/se/7722/setup.c b/trunk/arch/sh/boards/se/7722/setup.c index 33f6ee71f848..ede3957fc14a 100644 --- a/trunk/arch/sh/boards/se/7722/setup.c +++ b/trunk/arch/sh/boards/se/7722/setup.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include @@ -44,6 +45,10 @@ static struct platform_device heartbeat_device = { }; /* SMC91x */ +static struct smc91x_platdata smc91x_info = { + .flags = SMC91X_USE_16BIT, +}; + static struct resource smc91x_eth_resources[] = { [0] = { .name = "smc91x-regs" , @@ -64,6 +69,7 @@ static struct platform_device smc91x_eth_device = { .dev = { .dma_mask = NULL, /* don't use dma */ .coherent_dma_mask = 0xffffffff, + .platform_data = &smc91x_info, }, .num_resources = ARRAY_SIZE(smc91x_eth_resources), .resource = smc91x_eth_resources,