The 49ers and Carlos Rogers have reached agreement on a four-year deal worth roughly $30 million, according to a league source. With escalators and incentives, the cornerback's deal could max out at $31.3 million. Rogers was San Francisco's main priority among its own free agents.