Hammers boss Alan Curbishley has been keen to strenghten his options in defence, to avoid relegation from the Premiership this season.
The 24-year-old joined Spurs from Coventry in a £3 million deal in August 2004.
Davenport joined West Ham on loan immediately after joining Tottenham.