From: Eli Cohen <eli@dev.mellanox.co.il>
Date: Thu, 17 Apr 2008 04:09:35 +0000 (-0700)
Subject: IB/mlx4: Fix incorrect comment
X-Git-Tag: v2.6.26-rc1~1156^2~4
X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=4ff08a76bce3ed5f7d109c646dcfc474d7946213;p=linux-2.6-omap-h63xx.git

IB/mlx4: Fix incorrect comment

mlx4 hardware does not support external DDR memory.  Moreover, UAR
area (BAR 2) can change depending on FW version.

Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
---

diff --git a/drivers/net/mlx4/main.c b/drivers/net/mlx4/main.c
index bbeb52ed128..49a4acab5e8 100644
--- a/drivers/net/mlx4/main.c
+++ b/drivers/net/mlx4/main.c
@@ -736,8 +736,7 @@ static int __mlx4_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
 	}
 
 	/*
-	 * Check for BARs.  We expect 0: 1MB, 2: 8MB, 4: DDR (may not
-	 * be present)
+	 * Check for BARs.  We expect 0: 1MB
 	 */
 	if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM) ||
 	    pci_resource_len(pdev, 0) != 1 << 20) {