Re: ipath uses skb functions

From: Bryan O'Sullivan
Date: Mon Nov 20 2006 - 13:55:10 EST


Randy Dunlap wrote:
but doesn't depends on NET (Networking).

Thanks. One-liner patch attached. Roland, please add this to your for-2.6.19 or for-2.6.20 queue, as you see fit.

<b IB/ipath - make Kconfig depend on CONFIG_NET

Spotted by Randy Dunlap.

Signed-off-by: Bryan O'Sullivan <bryan.osullivan@xxxxxxxxxx>

diff -r 9769053d8f77 drivers/infiniband/hw/ipath/Kconfig
--- a/drivers/infiniband/hw/ipath/Kconfig Tue Nov 14 10:07:29 2006 -0800
+++ b/drivers/infiniband/hw/ipath/Kconfig Mon Nov 20 10:51:25 2006 -0800
@@ -1,6 +1,6 @@ config INFINIBAND_IPATH
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