From c5f6d3b2214900170f2e52b3aa6da9b4a1c98690 Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Fri, 9 May 2008 14:13:17 +0900 Subject: [PATCH] --- yaml --- r: 96297 b: refs/heads/master c: f11c9c2fd9ab1732acd577bcf08a4a2be7f9aa65 h: refs/heads/master i: 96295: 328e2f009b1af2df9bebd6379ab3905bdcfdf9bd v: v3 --- [refs] | 2 +- trunk/arch/sh/boards/se/7206/setup.c | 17 ++++++++++++++--- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index c5166ac62e81..a43671146461 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1e0f50ae11ab5838009994a3266accc1319c90d9 +refs/heads/master: f11c9c2fd9ab1732acd577bcf08a4a2be7f9aa65 diff --git a/trunk/arch/sh/boards/se/7206/setup.c b/trunk/arch/sh/boards/se/7206/setup.c index 5b3ee089d91d..4fe84cc08406 100644 --- a/trunk/arch/sh/boards/se/7206/setup.c +++ b/trunk/arch/sh/boards/se/7206/setup.c @@ -3,12 +3,13 @@ * linux/arch/sh/boards/se/7206/setup.c * * Copyright (C) 2006 Yoshinori Sato - * Copyright (C) 2007 Paul Mundt + * Copyright (C) 2007 - 2008 Paul Mundt * * Hitachi 7206 SolutionEngine Support. */ #include #include +#include #include #include #include @@ -16,8 +17,9 @@ static struct resource smc91x_resources[] = { [0] = { - .start = 0x300, - .end = 0x300 + 0x020 - 1, + .name = "smc91x-regs", + .start = PA_SMSC + 0x300, + .end = PA_SMSC + 0x300 + 0x020 - 1, .flags = IORESOURCE_MEM, }, [1] = { @@ -27,9 +29,18 @@ static struct resource smc91x_resources[] = { }, }; +static struct smc91x_platdata smc91x_info = { + .flags = SMC91X_USE_16BIT, +}; + static struct platform_device smc91x_device = { .name = "smc91x", .id = -1, + .dev = { + .dma_mask = NULL, + .coherent_dma_mask = 0xffffffff, + .platform_data = &smc91x_info, + }, .num_resources = ARRAY_SIZE(smc91x_resources), .resource = smc91x_resources, };