I have e38 sport contour seats and my up and down motor is burnt out/corroded. Its on the drivers side, it has female socket with 3 pins. And a black box that sits on top of it that contains a small circuit board (this is what is burnt out on mine).

These motors are identical to e39 ones in comfort seats. And the up down motor and back tilt motors are identical.