This is what the /proc entry contains:
kevinc@doctor:~/tmp$ more /proc/fsx25
4 cards installed
fsx0: FarSync T1U irq=11 mem=0xF4000000,0x1000,0xF4400000 reset
NCB users 0
fsx1: FarSync T2U irq=3 mem=0xF4100000,0x1400,0xF4400800 reset
NCB users 0
fsx2: FarSync T2P irq=10 mem=0xF4200000,0x1C00,0xF4401000 reset
NCB users 0
fsx3: FarSync T4P irq=9 mem=0xF4300000,0x2800,0xF4401800 reset
NCB users 0
This is a minimised script that reads the /proc entry
kevinc@doctor:~/tmp$ more test
count=0
# Read in the card status list and process each card in turn
while read label series card irq mem state
do
echo "line $count $label $series $card $irq $mem $state"
count=`expr $count + 1`
done < /proc/fsx25
and this is the output I get
kevinc@doctor:~/tmp$ ./test
line 0 4 cards installed
line 1 mem=0xF4100000,0x1400,0xF4400800 NCB access OK
line 2 OK
If I copy /proc/fsx25 to /tmp/fsx25 and modify the script to get input from
/tmp/fsx25 I get
kevinc@doctor:~/tmp$ ./test
line 0 4 cards installed
line 1
line 2 fsx0: FarSync T1U irq=11 mem=0xF4000000,0x1000,0xF4400000 reset
line 3 NCB users 0
line 4 fsx1: FarSync T2U irq=3 mem=0xF4100000,0x1400,0xF4400800 reset
line 5 NCB users 0
line 6 fsx2: FarSync T2P irq=10 mem=0xF4200000,0x1C00,0xF4401000 reset
line 7 NCB users 0
line 8 fsx3: FarSync T4P irq=9 mem=0xF4300000,0x2800,0xF4401800 reset
line 9 NCB users 0
Anybody got any idea what has changed here?
Kevin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/