The Oakland Athletics have agreed to terms year contracts for the 2012 season.

McCarthy had the best season of his career with the A's last year, going 9-9 in 25 starts with a 3.32 earned run average. He set career highs in wins (9) innings pitched (170 2/3), strikeouts (123) and complete games (5).

McCarthy, drafted in 2002 by the Chicago White Sox, has played six seasons in the majors, spending time with both the White Sox and Rangers before joining the Athletics in 2011. He holds a 29-33 record in 135 games (81 starts) with a 4.17 ERA and 374 strikeouts in 543 1/3 innings.

Devine, a first round pick in 2005 by the Atlanta Braves, saw his first action in two years after returning from "Tommy John" surgery. In 26 games with Oakland in 2011, he held a record of 1-1 with a 3.52 ERA.

He has appeared in just 93 games in the majors in his five-year career, going 8-3 with a 2.75 ERA.