The 5-speed Mazda M5OD-R1, also referred to as M5R1. The OD stands for OverDrive (the 5th gear). This is a different transmission from the M5OD-R2 aka M5R2. Up until later years (somewhere above '01), the manual transmission was only offered on the weaker 160hp OHV 4.0L V6, so if you wanted the more powerful 210hp SOHC, like I did in '99, then you had to get the automatic.
Finally, Ford decided to offer a man trans for the SOHC. It beefed up the trans with the upgraded M5OD-R1HD (HD for Heavy Duty). The HD had the OSS sensor hole in the extension housing.
M5OD-R1 for 2.3/3.0L engines........................3.72 2.20 1.50 1.00 0.79
M5OD-R1 for 4.0L engines.............................3.40 2.05 1.31 1.00 0.79
M5OD-R1HD................................................3.40 2.05 1.31 1.00 0.79
(Source:
http://www.vibratesoftware.com/html_help/html/Ford/Ford_Transmissions_Main.htm)
This HD trans is hard to get your hands on. It's been said the regular R1 could hold up to the SOHC just fine, but I was fortunate enough to find the HD.