Brett Tomko, whose two-year tenure with the Giants ended in an 8-15 season in 2005, has agreed to a two-year contract with the Los Angeles Dodgers worth about $8.5 million, The Chronicle has learned. The deal could be announced today if Tomko passes a physical. Tomko, who turns 33 on April 7, is the latest former Giant to ride the Ned Colletti pipeline to Dodger Stadium. The new Los Angeles GM also has acquired Bill Mueller and Kenny Lofton. The Giants parted ways with Tomko on Dec. 7, declining to offer him arbitration.He now could face the Giants five or six times in 2006. Some of his best games as a Giant were pitched at Dodger Stadium.