Called when a tty device is registred
tty.register
name
the driver .dev_name name
module
the module name
driver_name
the driver name
index
the tty index requested