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:
973e574
)
cnic: Fix port_mode setting
author
Michael Chan
<mchan@broadcom.com>
Wed, 13 Jul 2011 17:24:18 +0000
(17:24 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 14 Jul 2011 15:46:07 +0000
(08:46 -0700)
CHIP_2_PORT_MODE was not set correctly.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Reviewed-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cnic.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/cnic.c
b/drivers/net/cnic.c
index 23d6108c64c693ea919c1b88ca62b2b20937bca3..a881e42c0add44f250ea2b493346042da7345561 100644
(file)
--- a/
drivers/net/cnic.c
+++ b/
drivers/net/cnic.c
@@
-4834,7
+4834,7
@@
static int cnic_start_bnx2x_hw(struct cnic_dev *dev)
cp->port_mode = CHIP_4_PORT_MODE;
cp->pfid = func >> 1;
} else {
- cp->port_mode = CHIP_
4
_PORT_MODE;
+ cp->port_mode = CHIP_
2
_PORT_MODE;
cp->pfid = func & 0x6;
}
} else {