[PATCH 4.9 23/31] tty: link tty and port before configuring it as console