summaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4
diff options
context:
space:
mode:
authorEli Cohen <eli@dev.mellanox.co.il>2008-04-17 06:09:35 +0200
committerRoland Dreier <rolandd@cisco.com>2008-04-17 06:09:35 +0200
commit4ff08a76bce3ed5f7d109c646dcfc474d7946213 (patch)
tree9b0f8cd225c79ac8acf65125bd1f6053d6bd6425 /drivers/net/mlx4
parentIB/mlx4: Fix race when detaching a QP from a multicast group (diff)
downloadlinux-4ff08a76bce3ed5f7d109c646dcfc474d7946213.tar.xz
linux-4ff08a76bce3ed5f7d109c646dcfc474d7946213.zip
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>
Diffstat (limited to 'drivers/net/mlx4')
-rw-r--r--drivers/net/mlx4/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/mlx4/main.c b/drivers/net/mlx4/main.c
index bbeb52ed1285..49a4acab5e82 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) {