diff -r 3345048104fc -r fc24e3b47731 me8100-driver --- a/me8100-driver Wed Jan 16 14:02:54 2002 +0100 +++ b/me8100-driver Wed Jan 16 15:54:58 2002 +0100 @@ -21,7 +21,7 @@ echo -n "Starting me8100 driver " /sbin/insmod -f $module.o || return=$rc_failed rm -f /dev/${device} - rm -f /dev/${device}_[0-3] + rm -f /dev/${device}_[0-3]* major=`cat /proc/devices | awk "\\$2==\"$module\" {print \\$1}"` echo -n "with major number $major" @@ -31,6 +31,14 @@ mknod /dev/${device}_1 c $major 1 mknod /dev/${device}_2 c $major 2 mknod /dev/${device}_3 c $major 3 + + mknod /dev/${device}_0a c $major 16 # Port A + mknod /dev/${device}_0b c $major 32 # Port B + mknod /dev/${device}_0c c $major 64 # Counter + + mknod /dev/${device}_1a c $major 17 + mknod /dev/${device}_1b c $major 33 + mknod /dev/${device}_1c c $major 65 # Set a default link to the first dev ln -s /dev/${device}_0 /dev/${device}