1. Disconnect the brake fluid level sensor connector from the master cylinder.
2. Inspect for continuity according to fluid level between the brake fluid level sensor terminals.

If not as indicated in the table, replace the reserve tank..

Brake Switch InspectionInstrumentation/Driver Info. Personalization
A personalization function has been adopted which enables the instrument
cluster settings to be changed.
The Mazda Modular Diagnostic System (M-MDS) is required to perform the setting.
Refer to the Workshop Manual for the detailed setting procedure.
Instrument cluster
...
Catch Tank
Purpose, Function
Suppresses pulsation occurring before evaporative gas is inducted into the
intake manifold.
Construction
The catch tank is installed in the engine compartment.
Operation
When evaporative gas flows from the charcoal canister to the purge sol ...
Immobilizer System
The immobilizer system allows the engine to start only with a key the system
recognizes.
If someone attempts to start the engine with an unrecognized key, the engine
will not start, thereby helping to prevent the theft of your vehicle.
If you have a problem with the immobilizer system or the k ...