浏览代码

[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 20 年之前
父节点
当前提交
ff085c1cc2
共有 1 个文件被更改,包括 1 次插入1 次删除
  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.