URL
https://opencores.org/ocsvn/spacewire_light/spacewire_light/trunk
Subversion Repositories spacewire_light
Compare Revisions
- This comparison shows the changes necessary to convert path
/spacewire_light/trunk/sw/rtems_driver
- from Rev 9 to Rev 6
- ↔ Reverse comparison
Rev 9 → Rev 6
/spwltest.c
819,8 → 819,6
return ret; |
} |
|
if (txblocksize > packetsize && rxblocksize > packetsize) |
break; |
} |
} |
} |
1118,7 → 1116,7
|
blocksize = 0; |
while (send || !queued) { |
blocksize = get_num("Block size in bytes (1 .. 16384) ?", 1, MAX_BLOCK_SIZE, 4096); |
blocksize = get_num("Block size in bytes (32 .. 16384) ?", 32, MAX_BLOCK_SIZE, 4096); |
if ((blocksize & 3) == 0 || !queued) |
break; |
printf("INVALID: block size must be a multiple of 4 in queued mode\n"); |
1170,7 → 1168,7
npacket = get_num("Number of packets ?", 0, 1000000, -1); |
packetsize = get_num("Packet size in bytes (1 .. 1000000) ?", 1, 1000000, -1); |
while (1) { |
blocksize = get_num("Block size in bytes (1 .. 16384) ?", 1, MAX_BLOCK_SIZE, 4096); |
blocksize = get_num("Block size in bytes (32 .. 16384) ?", 32, MAX_BLOCK_SIZE, 4096); |
if ((blocksize & 3) == 0 || !queued) |
break; |
printf("INVALID: block size must be a multiple of 4 in queued mode\n"); |