Can't find him.
I'm not sure whether the question was asking for someone who served as a general on both sides at the same time, or merely for someone who served on both sides at a lesser rank and then was promoted to general after making his final decision as to which side he would serve. Either way, I have no answer.