diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-08-02 09:54:21 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-08-02 09:54:21 +0000 |
commit | e2782eae8ee17143d0506078fcf5c0a44b2302fe (patch) | |
tree | 45308fcc32ba873080939113a3dfdbae0581eb9d /target/linux/generic/files/drivers/net/phy/rtl8366_smi.h | |
parent | 614ca3cc9e73024b8eba81a414b34c700d8d42ca (diff) | |
download | upstream-e2782eae8ee17143d0506078fcf5c0a44b2302fe.tar.gz upstream-e2782eae8ee17143d0506078fcf5c0a44b2302fe.tar.bz2 upstream-e2782eae8ee17143d0506078fcf5c0a44b2302fe.zip |
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
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy/rtl8366_smi.h')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/rtl8366_smi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/rtl8366_smi.h b/target/linux/generic/files/drivers/net/phy/rtl8366_smi.h index ea5e6dbd6c..700f83c1a5 100644 --- a/target/linux/generic/files/drivers/net/phy/rtl8366_smi.h +++ b/target/linux/generic/files/drivers/net/phy/rtl8366_smi.h @@ -32,6 +32,7 @@ struct rtl8366_smi { struct device *parent; unsigned int gpio_sda; unsigned int gpio_sck; + void (*hw_reset)(bool active); unsigned int clk_delay; /* ns */ u8 cmd_read; u8 cmd_write; |