diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-08-02 09:54:21 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-08-02 09:54:21 +0000 |
commit | 08700f9817cfae410cea6f58a35bb914288aa0f7 (patch) | |
tree | c95e3fd53d6c4bb0617eeee6eee0b9e84d72a8c1 /target/linux/generic/files/drivers/net/phy/rtl8367.c | |
parent | 7f000ed40c2ec76337df186113fa7d221b1dd8b9 (diff) |
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32943 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy/rtl8367.c')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/rtl8367.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |