Could you describe it a bit more specifically, Mark, even if you are unsure of the proper part names?
The small end of the connecting-rod is on the cross-head, the sliding part just aft of the cylinder; and in that position might be the drive for the cylinder-lubricator.
Unless you are referring to the polygon of links below the cross-head: in which case it is the combination-lever system that is part of Walschaerts and Baker Valve-gears.
I'm a bit puzzled though by the "rotates around a shaft…". That suggests at the big-end instead, i.e. on the driving-wheel. If it looks like a small box with a cable coming from it and heading towards the cab, it is the speedometer drive. If though a small box with a shaft leading forwards to the valve-chest above the cylinder, it would be as Howard says, the drive to the cam-shaft in Caprotti valve-gear.
If instead a crank on the driving-wheel and outside of the connecting-rod and coupling-rod, it is the primary drive for Walschaerts and Baker Gear.