From: Magnus Damm <magnus.damm@gmail.com>
To: netdev@vger.kernel.org
Cc: Magnus Damm <magnus.damm@gmail.com>,
lethal@linux-sh.org, akpm@linux-foundation.org, jeff@garzik.org
Subject: [PATCH 01/05] smc911x: Remove unused 8-bit I/O operations
Date: Mon, 02 Jun 2008 20:37:14 +0900 [thread overview]
Message-ID: <20080602113714.28716.10248.sendpatchset@rx1.opensource.se> (raw)
In-Reply-To: <20080602113706.28716.92046.sendpatchset@rx1.opensource.se>
Remove unused SMC_inb() and SMC_outb() functions.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
---
drivers/net/smc911x.h | 4 ----
1 file changed, 4 deletions(-)
--- 0001/drivers/net/smc911x.h
+++ work/drivers/net/smc911x.h 2008-06-02 12:23:49.000000000 +0900
@@ -50,10 +50,8 @@
*/
#if SMC_USE_16BIT
-#define SMC_inb(a, r) readb((a) + (r))
#define SMC_inw(a, r) readw((a) + (r))
#define SMC_inl(a, r) ((SMC_inw(a, r) & 0xFFFF)+(SMC_inw(a+2, r)<<16))
-#define SMC_outb(v, a, r) writeb(v, (a) + (r))
#define SMC_outw(v, a, r) writew(v, (a) + (r))
#define SMC_outl(v, a, r) \
do{ \
@@ -64,10 +62,8 @@
#define SMC_outsl(a, r, p, l) writesw((short*)((a) + (r)), p, l*2)
#elif SMC_USE_32BIT
-#define SMC_inb(a, r) readb((a) + (r))
#define SMC_inw(a, r) readw((a) + (r))
#define SMC_inl(a, r) readl((a) + (r))
-#define SMC_outb(v, a, r) writeb(v, (a) + (r))
#define SMC_outl(v, a, r) writel(v, (a) + (r))
#define SMC_insl(a, r, p, l) readsl((int*)((a) + (r)), p, l)
#define SMC_outsl(a, r, p, l) writesl((int*)((a) + (r)), p, l)
next prev parent reply other threads:[~2008-06-02 11:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-02 11:37 [PATCH 00/05] smc911x: Request bus width using platform data Magnus Damm
2008-06-02 11:37 ` Magnus Damm [this message]
2008-06-03 22:48 ` [PATCH 01/05] smc911x: Remove unused 8-bit I/O operations Andrew Morton
2008-06-03 23:20 ` Jeff Garzik
2008-06-02 11:37 ` [PATCH 02/05] smc911x: Fix 16-bit " Magnus Damm
2008-06-02 11:37 ` [PATCH 03/05] smc911x: Pass along private data and use iomem Magnus Damm
2008-06-02 11:37 ` [PATCH 04/05] smc911x: Introduce platform data flags Magnus Damm
2008-06-02 11:37 ` [PATCH 05/05] smc911x: SuperH architecture support 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=20080602113714.28716.10248.sendpatchset@rx1.opensource.se \
--to=magnus.damm@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=jeff@garzik.org \
--cc=lethal@linux-sh.org \
--cc=netdev@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.