ACTION!="add|change|move", GOTO="mlinux_end" SUBSYSTEM!="net", GOTO="mlinux_end" # # Cannot always get driver test to work. #ENV{DRIVER}!="smsc75xx", GOTO="mlinux_end" #DRIVERS!="smsc75xx", GOTO="mlinux_end" #To add new rule for new device you have to run (in case if you want to add eth1 interface) #admin@mtcdt:~# udevadm info --attribute-walk --path=/sys/class/net/eth1 # # Because ID_PATH is the same for two different cases in the two port hub case, and # the original MTCDT hub layout, we must use the entire device path. Only eth1 needs # to be renamed. # # Two port hub case: # Some MTCDTIP-0.1: ENV{DEVPATH}=="/devices/platform/ahb/700000.ehci/usb1/1-2/1-2.3/1-2.3:1.0/net/eth1", NAME="eth2" # MTCDT-0.0 and MTCDT-0.1: ENV{DEVPATH}=="/devices/platform/ahb/700000.ehci/usb1/1-2/1-2.2/1-2.2:1.0/net/eth1", NAME="eth2" # MTCDT-0.2: ENV{DEVPATH}=="/devices/platform/ahb/700000.ehci/usb1/1-2/1-2.1/1-2.1.2/1-2.1.2:1.0/net/eth1", NAME="eth2" LABEL="mlinux_end"