IB/ipath: Depend on CONFIG_NET
authorBryan O'Sullivan <bos@serpentine.com>
Mon, 20 Nov 2006 18:54:34 +0000 (10:54 -0800)
committerRoland Dreier <rolandd@cisco.com>
Mon, 20 Nov 2006 21:06:19 +0000 (13:06 -0800)
ipath uses skb functions and won't build without CONFIG_NET.

Spotted by Randy Dunlap.

Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/Kconfig

index 5ca471ac6542a269d516e89dc3cd7c24b5e275cc..90c14543677de94c1f1a74464d4bbe27ae6ef9cf 100644 (file)
@@ -1,6 +1,6 @@
 config INFINIBAND_IPATH
        tristate "QLogic InfiniPath Driver"
-       depends on (PCI_MSI || HT_IRQ) && 64BIT && INFINIBAND
+       depends on (PCI_MSI || HT_IRQ) && 64BIT && INFINIBAND && NET
        ---help---
        This is a driver for QLogic InfiniPath host channel adapters,
        including InfiniBand verbs support.  This driver allows these