The last time the Detroit Lions made the NFL playoffs, Barry Sanders was their star.

The last time the Detroit Lions made the NFL playoffs, Barry Sanders was their star.

They're back, for the first time in 12 years, earning an NFC wild-card berth by beating San Diego 38-10, knocking the Chargers from contention Saturday.

Detroit (10-5) plays at NFC North champion Green Bay next Sunday before going on the road in the wild-card round.

New England, which already owns the AFC East title, grabbed a first-round bye with a 27-24 comeback victory against Miami. The Patriots (12-3) will have home-field advantage throughout the AFC playoffs if they beat Buffalo next week.

The Dolphins led 17-0 at halftime before New England stormed back.

The New York Giants beat the local rival Jets 29-14 to tie Dallas at 8-7 atop the NFC East. The Cowboys, who lost 20-7 to Philadelphia, visit the Giants next Sunday night, with the winner taking the division, the loser going home.

Dallas lost to the Giants 37-34 on Dec. 11.

Cowboys quarterback Tony Romo missed most of Sunday's game with a bruised right hand as Dallas got within 7 seconds of being shut out.

The Giants virtually ended the Jets' shot at the AFC playoffs in a sloppy game.

Denver's 40-14 loss at Buffalo dropped it into a tie atop the AFC West with Oakland, which beat Kansas City 16-13 in overtime. Still, if the Broncos (8-7) beat Kansas City in Denver next Sunday, they take the division.

"Everything is still on the table," quarterback Tim Tebow said. "We have to go and execute and play a little better. Hopefully, we can get in the tournament."

The Raiders get in if they defeat the Chargers in Oakland and the Chiefs beat the Broncos.

Baltimore and Pittsburgh remained atop the AFC North at 11-4, with the Ravens holding the tiebreaker after sweeping the Steelers. Baltimore beat Cleveland 20-14 and Pittsburgh blanked St. Louis 27-0.

If the Ravens win at Cincinnati (9-6) next week, they take the division and the Steelers get a wild card. If the Bengals win, they not only hand the Steelers a chance to grab the AFC North, but the Bengals get the last conference wild card.

Seattle (7-8) also dropped out of the NFC wild-card race with a 19-17 home loss to San Francisco (12-3), which currently is seeded second to the Packers (13-1 heading into tonight's game with Chicago) in the NFC and owns the NFC West crown.

Tennessee (8-7) has a slim hope of grabbing the final AFC wild card, but needs tons of help despite a 23-17 win over Jacksonville.

If Atlanta (9-5) beats New Orleans (11-3) on Monday night, it still could take the NFC South, but would clinch at least a wild card. The Saints already are in the playoffs. Also with an outside shot at a wild card is Chicago (7-7), which must win its last two games and have the Falcons fall twice.