From: Magnus Damm <magnus.damm@gmail.com>
To: netdev@vger.kernel.org
Cc: Magnus Damm <magnus.damm@gmail.com>,
lethal@linux-sh.org, nico@cam.org, akpm@linux-foundation.org
Subject: [PATCH 03/04] smc91x: make superh use default config
Date: Wed, 20 Feb 2008 18:58:12 +0900 [thread overview]
Message-ID: <20080220095812.22645.94915.sendpatchset@clockwork.opensource.se> (raw)
In-Reply-To: <20080220095740.22645.36783.sendpatchset@clockwork.opensource.se>
Removes superh board specific configuration from the header file. These boards
will instead be configured using platform data.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
---
drivers/net/smc91x.h | 30 ------------------------------
1 file changed, 30 deletions(-)
--- 0018/drivers/net/smc91x.h
+++ work/drivers/net/smc91x.h 2008-02-20 17:09:28.000000000 +0900
@@ -292,36 +292,6 @@ SMC_outw(u16 val, void __iomem *ioaddr,
#define SMC_insw(a, r, p, l) insw((a) + (r), p, l)
#define SMC_outsw(a, r, p, l) outsw((a) + (r), p, l)
-#elif defined(CONFIG_SUPERH)
-
-#ifdef CONFIG_SOLUTION_ENGINE
-#define SMC_IRQ_FLAGS (0)
-#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) inw((a) + (r))
-#define SMC_outw(v, a, r) outw(v, (a) + (r))
-#define SMC_insw(a, r, p, l) insw((a) + (r), p, l)
-#define SMC_outsw(a, r, p, l) outsw((a) + (r), p, l)
-
-#else /* BOARDS */
-
-#define SMC_CAN_USE_8BIT 1
-#define SMC_CAN_USE_16BIT 1
-#define SMC_CAN_USE_32BIT 0
-
-#define SMC_inb(a, r) inb((a) + (r))
-#define SMC_inw(a, r) inw((a) + (r))
-#define SMC_outb(v, a, r) outb(v, (a) + (r))
-#define SMC_outw(v, a, r) outw(v, (a) + (r))
-#define SMC_insw(a, r, p, l) insw((a) + (r), p, l)
-#define SMC_outsw(a, r, p, l) outsw((a) + (r), p, l)
-
-#endif /* BOARDS */
-
#elif defined(CONFIG_M32R)
#define SMC_CAN_USE_8BIT 0
next prev parent reply other threads:[~2008-02-20 10:03 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-20 9:57 [PATCH 00/04] smc91x: request bus width using platform data Magnus Damm
2008-02-20 9:57 ` [PATCH 01/04] smc91x: pass along private data Magnus Damm
2008-02-20 15:42 ` Nicolas Pitre
2008-02-21 2:14 ` Magnus Damm
2008-02-21 3:35 ` Nicolas Pitre
2008-02-20 9:58 ` [PATCH 02/04] smc91x: introduce platform data flags Magnus Damm
2008-02-20 15:58 ` Nicolas Pitre
2008-02-21 2:34 ` Magnus Damm
2008-02-21 3:28 ` Nicolas Pitre
2008-02-20 9:58 ` Magnus Damm [this message]
2008-02-20 9:58 ` [PATCH 04/04] smc91x: add insw/outsw to default config Magnus Damm
2008-02-20 16:00 ` Nicolas Pitre
2008-02-21 2:41 ` Magnus Damm
2008-02-20 15:36 ` [PATCH 00/04] smc91x: request bus width using platform data Nicolas Pitre
2008-02-21 2:46 ` Magnus Damm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080220095812.22645.94915.sendpatchset@clockwork.opensource.se \
--to=magnus.damm@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=lethal@linux-sh.org \
--cc=netdev@vger.kernel.org \
--cc=nico@cam.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).