I?m not sure if you mean HSM (as in Sigma lenses Hyper Sonic Motor) which would be SWM (Silent Wave Motor) for Nikon lenses.
If that?s what you mean the answer is no. . . . you won?t be able to Autofocus this lens with Nikon D40 or D40x.
See here details about the lens http://nikonimaging.com/global/products/lens/af/zoom/af_zoom70-300mmf_4-56g/
Sorry, I was away, but now I’m back in Dublin
Yes I still have the bag You can contact me at 086 160 6948