net: mv88e6xxx: Fix ingress rate removal for mv6131 chips
authorJamie Lentin <jm@lentin.co.uk>
Mon, 22 Aug 2016 21:47:08 +0000 (22:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Aug 2016 23:57:33 +0000 (16:57 -0700)
commit1bc261fabe866c4cdc97f52319eaa0c7ee31026e
tree791facf3ad9134634ab604cfa6db600d954cdc33
parentf64f14820e2deb5db056a05d7672ee2b1c6290e5
net: mv88e6xxx: Fix ingress rate removal for mv6131 chips

The PORT_RATE_CONTROL register works differently on 88e6095/6095f/6131
in comparison to 6123/61/65, and 0x0 disables. The distinction was lost
Linux 4.1 --> 4.2

Signed-off-by: Jamie Lentin <jm@lentin.co.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c