DTC P0974, P0977: Shift Solenoid A & B (#1 & 2) Control Circuit High: Wiring Diagram
WARNING: This page is about a different car, the 2004 Suzuki Vitara. However, it is still accessible from the selected car via links, so may be relevant.
Fig 1: DTC P0974 / P0977: Shift Solenoid-A (#1) / -B (#2) Control Circuit High Wiring Diagram