]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: link mv88e6xxx_port to mv88e6xxx_chip
authorAndrew Lunn <andrew@lunn.ch>
Thu, 9 Aug 2018 13:38:47 +0000 (15:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Aug 2018 18:08:20 +0000 (11:08 -0700)
commitf7a8e6ecd595ba9dc2e79da20235357fd6083478
tree7196fbe226f6f79dd8448d1bebc62e2541808b77
parent37714ab57c0062823fd26d8cc002f85012e2a5e8
net: dsa: mv88e6xxx: link mv88e6xxx_port to mv88e6xxx_chip

An up coming change will register interrupts for individual switch
ports, using the mv88e6xxx_port as the interrupt context information.
Add members to the mv88e6xxx_port structure so we can link it back to
the mv88e6xxx_chip member the port belongs to and the port number of
the port.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/chip.h