gsm_unregister_devices(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so this page is literally about gsm_unregister_devices β€” the function that unregisters all the tty devices for a given mux index πŸŽ€ that's it, that's the whole job, and it does it iconically.

This is the <italic>Kernel API Manual</italic> entry for gsm_unregister_devices(9), so if you're here you're probably deep in the GSM mux guts of the kernel β€” we love a committed bestie πŸ’…


🌸 SYNOPSIS 🌸

void gsm_unregister_devices (struct tty_driver *driver , unsigned int
index );

no return value, no drama, it just goes in and cleans up ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • driver β€” the tty driver that describes the tty devices. like, it's the thing that knows what these ttys actually are 🫢
  • index β€” the mux number, and bestie listen: it's used to calculate the minor numbers of the ttys for this mux, and it may differ from the position in the mux array. so don't just assume it lines up with the array slot, ok? that's the whole trap 😭

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file lives at ./drivers/tty/n_gsm.c and it's basically the whole n_gsm cinematic universe, so here's the entire cast in order, no cap 🌈

gsm_fcs_add(9), gsm_fcs_add_block(9), gsm_read_ea(9), gsm_read_ea_val(9), gsm_encode_modem(9), gsm_encode_params(9), gsm_register_devices(9), gsm_print_packet(9), gsm_stuff_frame(9), gsm_send(9), gsm_dlci_clear_queues(9), gsm_response(9), gsm_command(9), gsm_data_alloc(9), gsm_send_packet(9), gsm_is_flow_ctrl_msg(9), gsm_data_kick(9), __gsm_data_queue(9), gsm_data_queue(9), gsm_dlci_data_output(9), gsm_dlci_data_output_framed(9), gsm_dlci_modem_output(9), gsm_dlci_data_sweep(9), gsm_dlci_data_kick(9)

gsm_control_command(9), gsm_control_reply(9), gsm_process_modem(9), gsm_process_negotiation(9), gsm_control_modem(9), gsm_control_negotiation(9), gsm_control_rls(9), gsm_control_message(9), gsm_control_response(9), gsm_control_keep_alive(9), gsm_control_transmit(9), gsm_control_retransmit(9), gsm_control_send(9), gsm_control_wait(9)

gsm_dlci_close(9), gsm_dlci_open(9), gsm_dlci_negotiate(9), gsm_dlci_t1(9), gsm_dlci_begin_open(9), gsm_dlci_set_opening(9), gsm_dlci_set_wait_config(9), gsm_dlci_begin_close(9), gsm_dlci_data(9), gsm_dlci_command(9), gsm_kick_timer(9), gsm_dlci_copy_config_values(9), gsm_dlci_config(9), gsm_dlci_alloc(9), gsm_dlci_free(9), gsm_dlci_release(9)

gsm_queue(9), gsm0_receive_state_check_and_fix(9), gsm0_receive(9), gsm1_receive_state_check_and_fix(9), gsm1_receive(9), gsm_error(9), gsm_cleanup_mux(9), gsm_activate_mux(9), gsm_free_mux(9), gsm_free_muxr(9), gsm_alloc_mux(9)

gsmld_output(9), gsmld_write_trigger(9), gsmld_write_task(9), gsmld_attach_gsm(9), gsmld_detach_gsm(9), gsmld_flush_buffer(9), gsmld_close(9), gsmld_open(9), gsmld_write_wakeup(9), gsmld_read(9), gsmld_write(9), gsmld_poll(9)

gsm_modem_upd_via_data(9), gsm_modem_upd_via_msc(9), gsm_modem_update(9), gsm_wait_modem_change(9)

like… that's the whole friend group, go read them all, iykyk πŸ’–


and that's the page!! 🌟 brought to you by the <italic>Kernel API Manual</italic>, sourced straight out of ./drivers/tty, dated <italic>October 2026</italic> β€” logged off, unregistered, slaying πŸŽ€πŸ’œ

πŸ“¦ where this page comes from