Update iotest.c for TS-7800