All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] smc91x: disable DMA mode on the logicpd pxa270
@ 2006-06-23 21:24 Lennert Buytenhek
  2006-06-27  2:02 ` Jeff Garzik
  0 siblings, 1 reply; 4+ messages in thread
From: Lennert Buytenhek @ 2006-06-23 21:24 UTC (permalink / raw)
  To: jgarzik, netdev; +Cc: nico, mikee, peterb

Enabling PXA DMA for the smc91x on the logicpd pxa270 produces
unacceptable interference with the TFT panel, so disable it.  Also
delete the lpd270 versions of the SMC_{in,out}[bl]() macros, as they
aren't used, since the board only supports 16bit accesses.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>

Index: linux-2.6.17-git5/drivers/net/smc91x.h
===================================================================
--- linux-2.6.17-git5.orig/drivers/net/smc91x.h
+++ linux-2.6.17-git5/drivers/net/smc91x.h
@@ -136,14 +136,9 @@
 #define SMC_CAN_USE_32BIT	0
 #define SMC_IO_SHIFT		0
 #define SMC_NOWAIT		1
-#define SMC_USE_PXA_DMA		1
 
-#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_outw(v, a, r)	writew(v, (a) + (r))
-#define SMC_outl(v, a, r)	writel(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)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-06-27  2:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-23 21:24 [PATCH] smc91x: disable DMA mode on the logicpd pxa270 Lennert Buytenhek
2006-06-27  2:02 ` Jeff Garzik
2006-06-27  2:08   ` Lennert Buytenhek
2006-06-27  2:14     ` Lennert Buytenhek

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.