1819, "to fill (a hole containing an explosive) with dirt or clay before blasting," a workmen's word, perhaps a back-formation from tampion, that word being mistaken as a present participle (*tamping).
Entries linking to tamp
tamper n.
"one who or that which tamps," 1864, agent noun from tamp (v.).