]> git.baikalelectronics.ru Git - kernel.git/commit
dsa: mv88e6xxx.c: Hardware reset the chip if available
authorAndrew Lunn <andrew@lunn.ch>
Fri, 20 Nov 2015 02:56:24 +0000 (03:56 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Nov 2015 16:53:10 +0000 (11:53 -0500)
commite93349d6d7fd704101c96ead89ee4d190c57da94
treeb315bb7d08318d8cf53b1a22ad5505d1840706f4
parent6c8c623ffc3399b303f71547305eafec7fd1d437
dsa: mv88e6xxx.c: Hardware reset the chip if available

The device tree binding now allows a gpio to be specified which is
attached to the switch chips reset line. If it is defined, perform
a hardware reset on the switch during setup.

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