Set real slot and port numbers for various devices.