My bad. I tend to forget that dismounted cavaly skirmishers are still cavalry just dismounted. Riley did not refer to the dismounted men attacking his position as infantry, they we just the enemy whether riding or running.