Verify that the ignition key cannot be pulled out except in P position.
Mazda 6 Service Manual: Dtc clearing procedure
1. Start the on-board diagnostic test mode.
2. First press the POWER button, then simultaneously press AUDIO CONT button
for 2 seconds or more.
Caution
Before clearing the DTCs, be sure to enter all of them displayed
in the on-board diagnostic test mode in the Audio Repair Order Form. ...
Mazda 6 Service Manual: Automatic transaxle fluid (atf) replacement
Warning
When the transaxle and ATF are hot, they can badly burn you. Turn
off the engine and wait until they are cool before changing the ATF.
1. Remove the oil dipstick.
2. Remove the oil drain plug and washer.
3. Drain the ATF into a container.
4. Install a new washer and the drain ...