[ofa-general] IB/mlx4: fix code comment

Eli Cohen eli at dev.mellanox.co.il
Sun Apr 13 00:23:15 PDT 2008


>From 35dce8d2ebd3f525fe9ef92e3d8e803adde6170d Mon Sep 17 00:00:00 2001
From: Eli Cohen <eli at mellanox.co.il>
Date: Thu, 10 Apr 2008 16:18:04 +0300
Subject: [PATCH] IB/mlx4: fix code 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 at mellanox.co.il>
---
 drivers/net/mlx4/main.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/net/mlx4/main.c b/drivers/net/mlx4/main.c
index 7cfbe75..f2fe14a 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) {
-- 
1.5.5






More information about the general mailing list