String reversal by device driver