projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dc51b3
)
IB/mlx4: Fix incorrect comment
author
Eli Cohen
<eli@dev.mellanox.co.il>
Thu, 17 Apr 2008 04:09:35 +0000
(21:09 -0700)
committer
Roland Dreier
<rolandd@cisco.com>
Thu, 17 Apr 2008 04:09:35 +0000
(21:09 -0700)
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>
drivers/net/mlx4/main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/mlx4/main.c
b/drivers/net/mlx4/main.c
index bbeb52ed128518d154415252bf5adce36206bd90..49a4acab5e82ab1f5d8f2075af39d953fa414f6f 100644
(file)
--- 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) {