summaryrefslogtreecommitdiff
path: root/io-module/machine
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2020-02-26 08:54:47 -0600
committerJohn Klug <john.klug@multitech.com>2020-02-26 08:54:47 -0600
commit7b9e6df78381c4582e76883d28de7b770363bfb2 (patch)
tree224e02d5a2a452be8365086fd7d983f7fa225573 /io-module/machine
parent62f1d67abe1f4e79542c3cca683b40beb2eeda02 (diff)
downloadmts-io-7b9e6df78381c4582e76883d28de7b770363bfb2.tar.gz
mts-io-7b9e6df78381c4582e76883d28de7b770363bfb2.tar.bz2
mts-io-7b9e6df78381c4582e76883d28de7b770363bfb2.zip
change eth0-enabled to eth-reset to match other MT devices
Diffstat (limited to 'io-module/machine')
-rw-r--r--io-module/machine/mt100eocg.c8
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,