FILE - This is a 2013 file photo showing Vernon Davis of the San Francisco 49ers NFL football team. Professional athletes frequently get traded to other teams, but San Francisco 49ers tight end Vernon Davis is about to be the first ever to be traded like a stock. (AP Photo/File)

Photo: Uncredited, Associated Press

FILE - This is a 2013 file photo showing Vernon Davis of the San...

Image 3 of 3

FILE - In this Nov. 4, 2012, file photo, Tampa Bay Buccaneers cornerback Eric Wright (21) signals during the second quarter of an NFL football game against the Oakland Raiders in Oakland, Calif. The San Francisco 49ers have acquired Wright in a trade with Tampa Bay on Friday, July 19, 2013, that sends a conditional selection in the 2014 draft to the Buccaneers. (AP Photo/Marcio Jose Sanchez, File)

In addition to the two expected absentees on the first day of the 49ers' mandatory minicamp, contract holdouts tight end Vernon Davis and right guard Alex Boone, there was a surprise no-show Tuesday.

Cornerback Eric Wright, 28, has retired from the NFL, filing paperwork Tuesday with the league office to officially end his seven-year career.

"Playing was the fulfillment of a childhood dream, but as I prepared for the coming season, I realized that I no longer had the same passion I once had for the game," said Wright, a San Francisco native who signed with the 49ers last summer.

Wright's decision ends a career that nose-dived after he signed a five-year, $37.5 million contract with Tampa Bay in 2012. In his brief tenure with the Buccaneers, the former second-round pick was arrested twice on DUI charges and suspended four games for using performance-enhancing drugs.

The 49ers originally acquired him in a trade with the Buccaneers in July that was subsequently voided when Wright failed a physical. After he was released by Tampa Bay, he signed with the 49ers in August and spent 19 days away from the team to deal with what general manager Trent Baalke termed a "personal matter."

In 2013, Wright played just 120 snaps in seven games and collected seven tackles and an interception.

This season, he was expected to compete for the opening as the team's slot cornerback. The remaining contenders are first-round pick Jimmie Ward, Perrish Cox and Darryl Morris, who was signed as a rookie free agent last year. After undergoing foot surgery in March, Ward is not expected to take the field until the start of training camp July 23.

Wright's retirement also opens a spot on the 90-man roster.

"We feel good about the guys we have," Harbaugh said. "More information to follow, but won't really speculate on what we're going to do. We'll have an open spot and we'll do what's best for our team."

Meanwhile, Davis and Boone remained away from the team facility because of dissatisfaction with their contracts. Harbaugh had sloughed off their absences in the past, noting the previous portion of the offseason program was voluntary.

On Tuesday, however, he struck a different note.

"I'm disappointed in that decision for them not to be here," Harbaugh said. "There's a voluntary segment to the offseason and we appreciate those guys volunteering to make the team better. Now it's mandatory and not the decision I envisioned being the 49er way."

Said safety Eric Reid of Davis' absence: "He's making a personal decision. ... If he comes for training camp, that would be great. But right now it's looking like he's not here, so we'll put other guys in until he decides to come back."