diff options
author | Eli Cohen <eli@dev.mellanox.co.il> | 2008-04-17 00:09:35 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-04-17 00:09:35 -0400 |
commit | 4ff08a76bce3ed5f7d109c646dcfc474d7946213 (patch) | |
tree | 9b0f8cd225c79ac8acf65125bd1f6053d6bd6425 /drivers/net/mlx4/main.c | |
parent | 4dc51b32582d45cb7e8322d750ffe0e6d82b506d (diff) |
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/main.c')
-rw-r--r-- | 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 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) | |||
736 | } | 736 | } |
737 | 737 | ||
738 | /* | 738 | /* |
739 | * Check for BARs. We expect 0: 1MB, 2: 8MB, 4: DDR (may not | 739 | * Check for BARs. We expect 0: 1MB |
740 | * be present) | ||
741 | */ | 740 | */ |
742 | if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM) || | 741 | if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM) || |
743 | pci_resource_len(pdev, 0) != 1 << 20) { | 742 | pci_resource_len(pdev, 0) != 1 << 20) { |