A man from Swindon has been jailed for being concerned with the supply of Class A drugs.