We have used the bridge shield motor driver to connect to the raspberry pi instead of a separate motor driver. If you have a separate board or have made one then you can use pin numbers 4,17,22,23 from the raspberry pi GPIO header to connect to the motor...