1. Disconnect the negative battery cable.
2. Remove the front door trim.
3. Remove the screws and the power outside mirror switch.
4. Install in the reverse order of removal.
Mazda 6 Service Manual: Front brake (disc) removal/installation
1. Remove in the order indicated in the table.
2. Install in the reverse order of removal.
3. After installation, depress the pedal a few times, rotate the wheel by
hand, and verify that the brake does not drag.
Disc Plate Removal Note
Mark the wheel hub bolt and disc plate before removal ...
Mazda 6 Service Manual: Contact Authorized Mazda Dealer and Have Vehicle Inspected
If any of the following warning lights or the indicator light turns on/flashes,
the system may have a malfunction. Contact an Authorized Mazda Dealer to have your
vehicle inspected.
...