From patchwork Wed Jul 22 22:49:08 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alessandro Rubini X-Patchwork-Id: 30094 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@bilbo.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id 38BCBB6F1E for ; Thu, 23 Jul 2009 08:49:32 +1000 (EST) Received: by ozlabs.org (Postfix) id 2BBA1DDD1B; Thu, 23 Jul 2009 08:49:32 +1000 (EST) Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id AFD58DDD0B for ; Thu, 23 Jul 2009 08:49:31 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755223AbZGVWtY (ORCPT ); Wed, 22 Jul 2009 18:49:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754736AbZGVWtY (ORCPT ); Wed, 22 Jul 2009 18:49:24 -0400 Received: from mail2.gnudd.com ([213.203.150.91]:61494 "EHLO mail.gnudd.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755191AbZGVWtX (ORCPT ); Wed, 22 Jul 2009 18:49:23 -0400 Received: from mail.gnudd.com (localhost [127.0.0.1]) by mail.gnudd.com (8.14.3/8.14.3/Debian-5) with ESMTP id n6MMn9MO013797; Thu, 23 Jul 2009 00:49:09 +0200 Received: (from rubini@localhost) by mail.gnudd.com (8.14.3/8.14.3/Submit) id n6MMn8Lo013796; Thu, 23 Jul 2009 00:49:08 +0200 Date: Thu, 23 Jul 2009 00:49:08 +0200 From: Alessandro Rubini To: netdev@vger.kernel.org Cc: andrea.gallo@stericsson.com, STEricsson_nomadik_linux@list.st.com Subject: [PATCH v2] smc91x.h: add config for Nomadik evaluation kit Message-ID: <20090722224908.GA13789@mail.gnudd.com> MIME-Version: 1.0 Content-Disposition: inline X-Face: #Q; A)@_4.#>0+_%y]7aBr:c"ndLp&#+2?]J; lkse\^)FP^Lr5@O0{)J; 'nny4%74.fM' n)M >ISCj.KmsL/HTxz!:Ju'pnj'Gz&. Organization: GnuDD, Device Drivers, Embedded Systems, Courses Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo --- [sorry for the repost: I used a non-subscribed address and forgot to Cc: company people, V2 is otherwise the same as V1] Base support for the Nomadik SoC, by ST-Ericsson, is already included in the "nomadik" branch of rmk's tree. This one-liner enables the 16-bit-only configuration for the chip, as the default are not working for us drivers/net/smc91x.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/net/smc91x.h b/drivers/net/smc91x.h index f1f773b..57a159f 100644 --- a/drivers/net/smc91x.h +++ b/drivers/net/smc91x.h @@ -186,7 +186,8 @@ static inline void SMC_outw(u16 val, void __iomem *ioaddr, int reg) #define SMC_outsb(a, r, p, l) writesb((a) + (r), p, (l)) #define SMC_IRQ_FLAGS (-1) /* from resource */ -#elif defined(CONFIG_MACH_LOGICPD_PXA270) +#elif defined(CONFIG_MACH_LOGICPD_PXA270) \ + || defined(CONFIG_MACH_NOMADIK_8815NHK) #define SMC_CAN_USE_8BIT 0 #define SMC_CAN_USE_16BIT 1