summaryrefslogtreecommitdiff
path: root/recipes-core/udev/eudev/mtcdt/accessory_ethernet.rules
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/udev/eudev/mtcdt/accessory_ethernet.rules')
-rw-r--r--recipes-core/udev/eudev/mtcdt/accessory_ethernet.rules11
1 files changed, 7 insertions, 4 deletions
diff --git a/recipes-core/udev/eudev/mtcdt/accessory_ethernet.rules b/recipes-core/udev/eudev/mtcdt/accessory_ethernet.rules
index 2d559de..5426544 100644
--- a/recipes-core/udev/eudev/mtcdt/accessory_ethernet.rules
+++ b/recipes-core/udev/eudev/mtcdt/accessory_ethernet.rules
@@ -18,8 +18,11 @@
# ...........
# Four port to four port hub case
-KERNELS=="1-2.1.1:1.0", SUBSYSTEMS=="usb", DRIVERS=="smsc75xx", NAME="eth1"
-KERNELS=="1-2.1.2:1.0", SUBSYSTEMS=="usb", DRIVERS=="smsc75xx", NAME="eth2"
+# 1-2.1:1.0 eth1 (Only in four port case)
+# 1-2.2:1.0 eth2 (Matches eth1 in the two port case)
+#
# Four port to two port hub case
-KERNELS=="1-2.2:1.0", SUBSYSTEMS=="usb", DRIVERS=="smsc75xx", NAME="eth1"
-KERNELS=="1-2.3:1.0", SUBSYSTEMS=="usb", DRIVERS=="smsc75xx", NAME="eth2"
+# 1-2.2:1.0 eth1 (matches eth2 in the four port case)
+# 1-2.3:1.0 eth2 (only in two port case)
+#
+SUBSYSTEMS=="usb", DRIVERS=="smsc75xx", RUN+="/etc/udev/scripts/mtcdt_eth_rename.sh"