Quellcode durchsuchen

[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 vor 20 Jahren
Ursprung
Commit
ff085c1cc2
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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
 config ENET_BIG_BUFFERS
 	bool "Use Big CPM Ethernet Buffers"
 	bool "Use Big CPM Ethernet Buffers"
-	depends on NET_ETHERNET
+	depends on SCC_ENET || FEC_ENET
 	help
 	help
 	  Allocate large buffers for MPC8xx Ethernet. Increases throughput
 	  Allocate large buffers for MPC8xx Ethernet. Increases throughput
 	  and decreases the likelihood of dropped packets, but costs memory.
 	  and decreases the likelihood of dropped packets, but costs memory.