projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd49fea
)
net: dsa: bcm_sf2: Fill in BCM4908 CFP entries
author
Florian Fainelli
<f.fainelli@gmail.com>
Fri, 12 Mar 2021 21:11:01 +0000
(13:11 -0800)
committer
David S. Miller
<davem@davemloft.net>
Sun, 14 Mar 2021 21:34:46 +0000
(14:34 -0700)
The BCM4908 switch has 256 CFP entrie, update that setting so CFP can be
used.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/bcm_sf2.c
patch
|
blob
|
history
diff --git
a/drivers/net/dsa/bcm_sf2.c
b/drivers/net/dsa/bcm_sf2.c
index 3a3050e85af7f5ec12b5fcb3a0592704581397e8..d8e6dd371468c4069ca1094bf057e7a60972519a 100644
(file)
--- a/
drivers/net/dsa/bcm_sf2.c
+++ b/
drivers/net/dsa/bcm_sf2.c
@@
-1200,7
+1200,7
@@
static const struct bcm_sf2_of_data bcm_sf2_4908_data = {
.type = BCM4908_DEVICE_ID,
.core_reg_align = 0,
.reg_offsets = bcm_sf2_4908_reg_offsets,
- .num_cfp_rules =
0, /* FIXME */
+ .num_cfp_rules =
256,
.num_crossbar_int_ports = 2,
};