Dec 29, 2009 8:35 AM EST

The Giants and free-agent infielder Mark DeRosa have agreed to terms on a two-year contract.

DeRosa took and passed his physical in San Francisco on Monday.

According to SI.com, the Giants offered DeRosa $12 million over the two seasons.

Via ESPN