Gents,
The two flags involved are indeed for Company A, Marshall Rangers - 8th Tennessee Cavalry (Baxter Smith's) and Co. F, 17th Tennessee Infantry.
Greg Biggs