From patchwork Tue Dec 8 17:08:26 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ladislav.Michl@seznam.cz X-Patchwork-Id: 65711 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nB8G8go0030407 for ; Tue, 8 Dec 2009 16:08:42 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932464AbZLHQIV (ORCPT ); Tue, 8 Dec 2009 11:08:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932427AbZLHQIV (ORCPT ); Tue, 8 Dec 2009 11:08:21 -0500 Received: from smtp.seznam.cz ([77.75.72.43]:45172 "EHLO smtp.seznam.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932426AbZLHQIU (ORCPT ); Tue, 8 Dec 2009 11:08:20 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=seznam.cz; h=Received:Received:Date:From:To:Cc:Subject:Message-ID:Reply-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Smtpd:X-Seznam-User:X-QM-Mark; b=Gwgu9sv/wYmHwiJKJEj9VdHvfoQd+YmoQDrnFKq+NrNxGhns+mbk+U3nBxR3f/Fa6 diQ/S5E69H2j5cY70vV8s0FsZ18aXfeOQnXf659jje+ciN6d+15hooX1SUxKUxUR3wO OmGcTCDu05pnlcipzT31u/cMRVMarlRm6Dt1CQ4= Received: from debian (34.24.broadband3.iol.cz [85.70.24.34]) by email-relay2.go.seznam.cz (Seznam SMTPD 1.1.7@13984) with ESMTP; Tue, 08 Dec 2009 17:08:24 +0100 (CET) Received: by debian (sSMTP sendmail emulation); Tue, 08 Dec 2009 18:08:26 +0100 Date: Tue, 8 Dec 2009 18:08:26 +0100 From: Ladislav Michl To: linux-omap@vger.kernel.org Cc: linux-netdev@vger.kernel.org Subject: [PATCH 2/2] smc91x: remove OMAP specific bits Message-ID: <20091208170826.GC19338@localhost.localdomain> Reply-To: Ladislav Michl References: <20091208170038.GA19338@localhost.localdomain> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20091208170038.GA19338@localhost.localdomain> User-Agent: Mutt/1.5.18 (2008-05-17) X-Smtpd: 1.1.7@13984 X-Seznam-User: ladislav.michl@seznam.cz X-QM-Mark: email-qm3<269351803> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org diff --git a/drivers/net/smc91x.h b/drivers/net/smc91x.h index 3911be7..bfc53eb 100644 --- a/drivers/net/smc91x.h +++ b/drivers/net/smc91x.h @@ -206,21 +206,6 @@ SMC_outw(u16 val, void __iomem *ioaddr, int reg) } } -#elif defined(CONFIG_ARCH_OMAP) - -/* We can only do 16-bit reads and writes in the static memory space. */ -#define SMC_CAN_USE_8BIT 0 -#define SMC_CAN_USE_16BIT 1 -#define SMC_CAN_USE_32BIT 0 -#define SMC_IO_SHIFT 0 -#define SMC_NOWAIT 1 - -#define SMC_inw(a, r) readw((a) + (r)) -#define SMC_outw(v, a, r) writew(v, (a) + (r)) -#define SMC_insw(a, r, p, l) readsw((a) + (r), p, l) -#define SMC_outsw(a, r, p, l) writesw((a) + (r), p, l) -#define SMC_IRQ_FLAGS (-1) /* from resource */ - #elif defined(CONFIG_SH_SH4202_MICRODEV) #define SMC_CAN_USE_8BIT 0