The Mazda diesel was available from 82-84. 2.2 litre non-turbo. It was replaced by a Mitsubishi 2.3 litre Turbo in 85-87 model years.
The Mazda engine is sometimes called a Perkins (incorrectly) as a merger between the companies occured in the 90's. It was a Toyo Kogo engine when produced.
The Mazda engine is fairly underpowered, although I have seen a couple that were aftermarket turbo'd that are respectable.
The Mitsu, while not being a real powerhouse itself, was a far cry better. They can be turned up easily, I have one out of a 85 Ranger transplanted in a Dodge D50 that is putting 97 hp to the ground (dyno'd 2 weeks ago) stock engine with only a few turns of the scewdriver on the pump. I did have a reworked pump and injectors in it previously, but was afraid of breaking it.