Explorar o código

[PATCH] ppc32: 8xx restrict ENET_BIG_BUFFERS option

8xx: restrict ENET_BIG_BUFFERS option to drivers which actually use it

Signed-off-by: Aristeu Sergio Rozanski Filho <aris@cathedrallabs.org>
Signed-off-by: Marcelo Tosatti <marcelo.tosatti@cyclades.com
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Aristeu Sergio Rozanski Filho %!s(int64=20) %!d(string=hai) anos
pai
achega
ff085c1cc2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      arch/ppc/8xx_io/Kconfig

+ 1 - 1
arch/ppc/8xx_io/Kconfig

@@ -69,7 +69,7 @@ config FEC_QS6612
 	
 config ENET_BIG_BUFFERS
 	bool "Use Big CPM Ethernet Buffers"
-	depends on NET_ETHERNET
+	depends on SCC_ENET || FEC_ENET
 	help
 	  Allocate large buffers for MPC8xx Ethernet. Increases throughput
 	  and decreases the likelihood of dropped packets, but costs memory.