summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorEric Miao <eric.miao@marvell.com>2008-06-24 15:51:02 +0800
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-07-12 21:52:41 +0100
commit3aed74cdea09831db04bd0bdfc2f377f731c1879 (patch)
tree1fe1130c09262c4af126cf8eec907ad28cf9140b /drivers
parent52256c0e06e4a4df67134b951a21b50c713a9588 (diff)
downloadlinux-3aed74cdea09831db04bd0bdfc2f377f731c1879.tar.gz
linux-3aed74cdea09831db04bd0bdfc2f377f731c1879.tar.bz2
linux-3aed74cdea09831db04bd0bdfc2f377f731c1879.zip
[ARM] pxa: make lubbock to use new smc91x platform data
Signed-off-by: Eric Miao <eric.miao@marvell.com> Acked-by: Nicolas Pitre <nico@cam.org> Acked-by: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/smc91x.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/smc91x.h b/drivers/net/smc91x.h
index f02cc6ac248b..a9c41d421c37 100644
--- a/drivers/net/smc91x.h
+++ b/drivers/net/smc91x.h
@@ -48,8 +48,7 @@
#define SMC_CAN_USE_32BIT 0
#define SMC_NOWAIT 1
-/* The first two address lines aren't connected... */
-#define SMC_IO_SHIFT 2
+#define SMC_IO_SHIFT (lp->io_shift)
#define SMC_inw(a, r) readw((a) + (r))
#define SMC_outw(v, a, r) writew(v, (a) + (r))