There is a TSB reflash for OBII compliant fix. The reflash "fixes" the communication glitch between the cars ECU/PCM via the OBII port.
From Mazda TSB concerning OBII compliance issues.
FALSE MIL ILLUMINATION WITH MULTIPLE U-CODE DTCS
APPLICABLE MODEL(S)/VINS
All 2003 - 2004 Mazda6
2005 Mazda6 2.3L only
DESCRIPTION
Some customer vehicles may have a false MIL illumination with multiple U-code DTCs. This condition may be
caused if the WDS DLC cable is connected or disconnected while the ignition switch is in the ON position, or
when the engine is idling.
IMPORTANT: When connecting or disconnecting the WDS DLC cable (or any scan tool equipment) to
the DLC-2 connector (under dash), the ignition switch must be in the OFF position, otherwise, the MIL
light may come ON and false CAN communication DTC codes may be set in the different CAN bus modules.
The following DTCs may be stored if this condition occurs:
U1900-ABS
U2516-ABS
U1900-FF-IC
U2516-FF-IC
U0073-FF-PCM
U0073-FF-TCM
U0100-FF-TCM
NOTE: It has been reported that some customer vehicles have failed the state emission OBD II test. This may
be caused by the inspection station connecting or disconnecting the DLC cable when the ignition
switch in the ON position, or when the engine is idling.
Customers having this concern should have their vehicle repaired using the following repair procedure.
REPAIR PROCEDURE
1. Verify customer concern.
2. Erase all DTCs.
3. Turn OFF MIL.
4. Turn ignition switch to OFF position.
5. Disconnect WDS DLC or scan tool cable.
6. Verify repair.
Or it could be this:
Make : MAZDA Model : MAZDASPEED6 Year : 2006
Manufacturer : MAZDA MOTOR CORP
Service Bulletin Number : 09012007 Date of Bulletin : SEP 01, 2007
NHTSA Item Number : 10023192
Component : ELECTRICAL SYSTEM:WIRING:INTERIOR/UNDER DASH
Summary :
MIL ILLUMINATION (DTC P2006) VOLUNTARY EMISSION RECALL CAMPAIGN 4807H AND OBD-II COMPLIANCE VOLUNTARY EMISSION RECALL CAMPAIGN 4907H. *NJ