diff options
author | John Klug <john.klug@multitech.com> | 2020-02-26 08:54:47 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2020-10-16 10:23:01 -0500 |
commit | e3aa15011d8801235bb45cf163a5eefc6536e657 (patch) | |
tree | b0975ef3850063ad4050f460434dafce11808a26 | |
parent | d33777bacc8abe8530016ad0e4fe3a604c0a5a48 (diff) | |
download | mts-io-e3aa15011d8801235bb45cf163a5eefc6536e657.tar.gz mts-io-e3aa15011d8801235bb45cf163a5eefc6536e657.tar.bz2 mts-io-e3aa15011d8801235bb45cf163a5eefc6536e657.zip |
change eth0-enabled to eth-reset to match other MT devices
-rw-r--r-- | io-module/machine/mt100eocg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/io-module/machine/mt100eocg.c b/io-module/machine/mt100eocg.c index 749b85a..18bea89 100644 --- a/io-module/machine/mt100eocg.c +++ b/io-module/machine/mt100eocg.c @@ -52,9 +52,9 @@ static struct gpio_pin gpio_pins_mt100eocg_0_0[] = { .active_low = 1, }, { - .name = "ETH0_ENABLED", + .name = "ETH_RESET", .pin = { - .label = "eth0-enabled", + .label = "eth-reset", .gpio = AT91_PIN_PB31, .flags = GPIOF_OUT_INIT_HIGH, }, @@ -149,7 +149,7 @@ static DEVICE_ATTR_RO_MTS(dev_attr_extserial_dtr, "extserial-dtr", static DEVICE_ATTR_MTS(dev_attr_extserial_dcd_gpio, "extserial-dcd", mts_attr_show_gpio_pin, mts_attr_store_gpio_pin); -static DEVICE_ATTR_MTS(dev_attr_eth0_enabled, "eth0-enabled", +static DEVICE_ATTR_MTS(dev_attr_eth_reset, "eth-reset", mts_attr_show_gpio_pin, mts_attr_store_gpio_pin); static DEVICE_ATTR_MTS(dev_attr_enio, "enio", @@ -207,7 +207,7 @@ static struct attribute *mt100eocg_platform_attributes[] = { &dev_attr_extserial_dcd_gpio.attr, &dev_attr_rsersrc.attr, // AT91_PIN_PC7 &dev_attr_radio_reset.attr, // AT91_PIN_PB30 - &dev_attr_eth0_enabled.attr, + &dev_attr_eth_reset.attr, &dev_attr_gpio11.attr, // AT91_PIN_PB19 &dev_attr_gpio12.attr, // AT91_PIN_PB20 &dev_attr_enio.attr, |