mirror of https://gitee.com/openkylin/linux.git
a4c61b92b3
We make the bcm_sf2 driver override ds->ops which points to
b53_switch_ops since b53_switch_alloc() did the assignent. This is all
well and good until a second b53 switch comes in, and ends up using the
bcm_sf2 operations. Make a proper local copy, substitute the ds->ops
pointer and then override the operations.
Fixes:
|
||
---|---|---|
.. | ||
b53 | ||
mv88e6xxx | ||
Kconfig | ||
Makefile | ||
bcm_sf2.c | ||
bcm_sf2.h | ||
bcm_sf2_regs.h | ||
mv88e6060.c | ||
mv88e6060.h | ||
qca8k.c | ||
qca8k.h |