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 6 to Rev 9
- ↔ Reverse comparison
Rev 6 → Rev 9
/spwltest.c
819,6 → 819,8
return ret; |
} |
|
if (txblocksize > packetsize && rxblocksize > packetsize) |
break; |
} |
} |
} |
1116,7 → 1118,7
|
blocksize = 0; |
while (send || !queued) { |
blocksize = get_num("Block size in bytes (32 .. 16384) ?", 32, MAX_BLOCK_SIZE, 4096); |
blocksize = get_num("Block size in bytes (1 .. 16384) ?", 1, MAX_BLOCK_SIZE, 4096); |
if ((blocksize & 3) == 0 || !queued) |
break; |
printf("INVALID: block size must be a multiple of 4 in queued mode\n"); |
1168,7 → 1170,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 (32 .. 16384) ?", 32, MAX_BLOCK_SIZE, 4096); |
blocksize = get_num("Block size in bytes (1 .. 16384) ?", 1, MAX_BLOCK_SIZE, 4096); |
if ((blocksize & 3) == 0 || !queued) |
break; |
printf("INVALID: block size must be a multiple of 4 in queued mode\n"); |