Removed some xmldev survivors.
authorFlorian Pose <fp@igh-essen.com>
Thu, 29 May 2008 09:53:10 +0000
changeset 921 c8c2caf0d667
parent 920 d50af9d482ed
child 922 fede1d8f5b71
Removed some xmldev survivors.
master/Makefile.am
script/init.d/ethercat
--- a/master/Makefile.am	Thu May 29 09:42:38 2008 +0000
+++ b/master/Makefile.am	Thu May 29 09:53:10 2008 +0000
@@ -60,8 +60,7 @@
 	sdo_request.c sdo_request.h \
 	slave.c slave.h \
 	slave_config.c slave_config.h \
-	sync.c sync.h \
-	xmldev.c xmldev.h
+	sync.c sync.h
 
 modules:
 	$(MAKE) -C "@abs_top_srcdir@" modules
--- a/script/init.d/ethercat	Thu May 29 09:42:38 2008 +0000
+++ b/script/init.d/ethercat	Thu May 29 09:53:10 2008 +0000
@@ -49,7 +49,6 @@
 
 #------------------------------------------------------------------------------
 
-XMLDEVICE='ecxml'
 MODPROBE=/sbin/modprobe
 RMMOD=/sbin/rmmod
 MODINFO=/sbin/modinfo
@@ -180,15 +179,6 @@
         exit_fail
     fi
 
-    # remove stale device node
-    rm -f /dev/${XMLDEVICE}0
-
-    # get dynamic major number
-    MAJOR=$(awk "\$2==\"EtherCAT\" {print \$1}" /proc/devices)
-
-    # create character device
-    mknod /dev/${XMLDEVICE}0 c ${MAJOR} 0
-
     # check for modules to replace
     for MODULE in ${DEVICE_MODULES}; do
         ECMODULE=ec_${MODULE}
@@ -223,9 +213,6 @@
         fi;
     done
 
-    # remove device node
-    rm -f /dev/${XMLDEVICE}0
-
     sleep 1
 
     # reload previous modules