Maybe Oregon should have held their head coach job open another few weeks…

Chip Kelly’s future with the San Francisco 49ers (1-12) is in doubt after just one year — after losing at home to the Jets, how could it not be? — with ownership considering a major shakeup, according to CBS Sports.

General manager Trent Baalke, who survived a power struggle with former coach Jim Harbaugh, with disastrous consequences for a franchise that had made three straight NFC title games just three years ago, is “in jeopardy” of getting fired. The new general manager potentially would be allowed to decide Kelly’s fate.

And that new honcho could be two-time Super Bowl-winning coach Mike Shanahan, most recently of the Redskins.

CBS Sports reported Shanahan could join the 49ers as an executive or coach. The 64-year-old has been in contact in the past with the York family, which owns the team. Jed York’s parents, Denise and John, reportedly will be taking a more active role in determining the next steps for the tottering organization.

Kelly, whose record is 27-33 in parts of four NFL seasons following a reputation-making stint at Oregon, increasingly has been tipped for vacant college jobs as he’s faltered at the pro level — including, briefly, with the Ducks, who fired successor Mark Helfrich and replaced him last week with Willie Taggart.