In spite of the excellence otherwise of Ken Burns's Civil War, there seems to be no record of the "O'Neill" "Foggy Dew" tune having been known in America in the 1860s.
Not that it's impossible, but rather few people would likely have been familiar with it.