kernel: b53: allow access the MIB counters on BCM5365
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 4 Sep 2013 16:15:10 +0000 (16:15 +0000)
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 4 Sep 2013 16:15:10 +0000 (16:15 +0000)
commit5733f4a35f6965967744433792d4c90379bfff30
treee989aae4966a1ce7194f127703c739ae17d8a49a
parent8a2de720842a96264f7a568f2f13ed0737fd2e34
kernel: b53: allow access the MIB counters on BCM5365

b53_no_ops has no elements and b53_port_ops has one element, this makes
the code access some random memory when trying to access the mib
counter functions.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37895 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/files/drivers/net/phy/b53/b53_common.c