The Padres hit three home runs to beat the Chicago White Sox 5-2 and lower their magic number to one with four games to play.