Updated

The Arizona Cardinals have agreed to terms on a three-year, $9 million deal with free-agent OL Rex Hadnot, a league source told FOXSports.com. The deal maxes out at $12 million based on incentives.

Hadnot, who spent the past two seasons with the Cleveland Browns, signed a two-year, $6.5 million deal with Cleveland in March of 2008. He started 21 of the 24 games he appeared in for the team.

While it's not immediately known which position he'll be playing for the Cardinals, the versatile offensive lineman is capable of playing guard or center. In addition to visiting the Cardinals earlier this week, Hadnot visited the Denver Broncos on March 5, the beginning of free agency. Earlier on Thursday, the Cardinals re-signed versatile OL Jeremy Bridges to a three-year deal.

Hadnot, 28, was selected in the sixth round of the 2004 NFL Draft by the Miami Dolphins out of the University of Houston.

NFL.com and Profootballtalk.com first reported Hadnot agreed to terms on a deal with the Cardinals.

-- Alex Marvez and Adam Caplan