This should cover it.
www.e46fanatics.com
DIY: Auto to Manual Transmission Swap Wiring Changes
This describes the wiring changes needed when swapping a manual transmission into an E46 that originally had an automatic transmission. Remove EGS First step is to remove the transmission control module (EGS), located in the electronics box near the brake master cylinder. Connector A7000...