From e2782eae8ee17143d0506078fcf5c0a44b2302fe Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Thu, 2 Aug 2012 09:54:21 +0000 Subject: generic: rtl836x: add hw_reset field to struct rtl8366_smi It will be used to start/stop the switch if that is supported by the given board. SVN-Revision: 32943 --- target/linux/generic/files/drivers/net/phy/rtl8367.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'target/linux/generic/files/drivers/net/phy/rtl8367.c') diff --git a/target/linux/generic/files/drivers/net/phy/rtl8367.c b/target/linux/generic/files/drivers/net/phy/rtl8367.c index 4f2ba6327b..ee2a047013 100644 --- a/target/linux/generic/files/drivers/net/phy/rtl8367.c +++ b/target/linux/generic/files/drivers/net/phy/rtl8367.c @@ -1692,6 +1692,8 @@ static int __devinit rtl8367_probe(struct platform_device *pdev) smi->gpio_sda = pdata->gpio_sda; smi->gpio_sck = pdata->gpio_sck; + smi->hw_reset = pdata->hw_reset; + smi->clk_delay = 1500; smi->cmd_read = 0xb9; smi->cmd_write = 0xb8; -- cgit v1.2.3