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/include | |
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/include')
-rw-r--r-- | target/linux/generic/files/include/linux/rtl8366.h | 2 | ||||
-rw-r--r-- | target/linux/generic/files/include/linux/rtl8367.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/generic/files/include/linux/rtl8366.h b/target/linux/generic/files/include/linux/rtl8366.h index 22ce614d4..78daed220 100644 --- a/target/linux/generic/files/include/linux/rtl8366.h +++ b/target/linux/generic/files/include/linux/rtl8366.h @@ -29,6 +29,8 @@ struct rtl8366_initval { struct rtl8366_platform_data { unsigned gpio_sda; unsigned gpio_sck; + void (*hw_reset)(bool active); + unsigned num_initvals; struct rtl8366_initval *initvals; }; diff --git a/target/linux/generic/files/include/linux/rtl8367.h b/target/linux/generic/files/include/linux/rtl8367.h index aab553e22..470c5f381 100644 --- a/target/linux/generic/files/include/linux/rtl8367.h +++ b/target/linux/generic/files/include/linux/rtl8367.h @@ -50,6 +50,7 @@ struct rtl8367_extif_config { struct rtl8367_platform_data { unsigned gpio_sda; unsigned gpio_sck; + void (*hw_reset)(bool active); struct rtl8367_extif_config *extif0_cfg; struct rtl8367_extif_config *extif1_cfg; |