From: Randy Dunlap Date: Thu, 29 Jul 2010 07:14:27 +0000 (+0000) Subject: net: ks8842 depends on DMA_ENGINE X-Git-Tag: v2.6.36-rc1~571^2~61 X-Git-Url: https://bbs.cooldavid.org/git/?a=commitdiff_plain;ds=sidebyside;h=19de1e389bddb89c4cc1e4d29bb99194b50cb487;p=net-next-2.6.git net: ks8842 depends on DMA_ENGINE ks8842 uses dma channel functions, so it should depend on DMA_ENGINE. ERROR: "__dma_request_channel" [drivers/net/ks8842.ko] undefined! ERROR: "dma_release_channel" [drivers/net/ks8842.ko] undefined! Signed-off-by: Randy Dunlap Signed-off-by: David S. Miller --- diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 8c13df7fdc1..ebe68395ecf 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -1751,7 +1751,7 @@ config TLAN config KS8842 tristate "Micrel KSZ8841/42 with generic bus interface" - depends on HAS_IOMEM + depends on HAS_IOMEM && DMA_ENGINE help This platform driver is for KSZ8841(1-port) / KS8842(2-port) ethernet switch chip (managed, VLAN, QoS) from Micrel or