Lines Matching full:ssi

5  * Implementation of the SSI McSAAB improved protocol.
45 * SSI protocol command definitions
101 * struct ssi_protocol - SSI protocol (McSAAB) data
111 * @keep_alive: Workaround for SSI HW bug
146 /* List of ssi protocol instances */
199 static struct hsi_msg *ssip_alloc_data(struct ssi_protocol *ssi, in ssip_alloc_data() argument
209 msg->channel = ssi->channel_id_data; in ssip_alloc_data()
217 struct ssi_protocol *ssi = hsi_client_drvdata(msg->cl); in ssip_release_cmd() local
220 spin_lock_bh(&ssi->lock); in ssip_release_cmd()
221 list_add_tail(&msg->link, &ssi->cmdqueue); in ssip_release_cmd()
222 spin_unlock_bh(&ssi->lock); in ssip_release_cmd()
225 static struct hsi_msg *ssip_claim_cmd(struct ssi_protocol *ssi) in ssip_claim_cmd() argument
229 BUG_ON(list_empty(&ssi->cmdqueue)); in ssip_claim_cmd()
231 spin_lock_bh(&ssi->lock); in ssip_claim_cmd()
232 msg = list_first_entry(&ssi->cmdqueue, struct hsi_msg, link); in ssip_claim_cmd()
234 spin_unlock_bh(&ssi->lock); in ssip_claim_cmd()
240 static void ssip_free_cmds(struct ssi_protocol *ssi) in ssip_free_cmds() argument
244 list_for_each_entry_safe(msg, tmp, &ssi->cmdqueue, link) { in ssip_free_cmds()
252 static int ssip_alloc_cmds(struct ssi_protocol *ssi) in ssip_alloc_cmds() argument
268 msg->channel = ssi->channel_id_cmd; in ssip_alloc_cmds()
269 list_add_tail(&msg->link, &ssi->cmdqueue); in ssip_alloc_cmds()
274 ssip_free_cmds(ssi); in ssip_alloc_cmds()
279 static void ssip_set_rxstate(struct ssi_protocol *ssi, unsigned int state) in ssip_set_rxstate() argument
281 ssi->recv_state = state; in ssip_set_rxstate()
284 del_timer(&ssi->rx_wd); in ssip_set_rxstate()
285 if (ssi->send_state == SEND_IDLE) in ssip_set_rxstate()
286 del_timer(&ssi->keep_alive); in ssip_set_rxstate()
290 if (atomic_read(&ssi->tx_usecnt)) in ssip_set_rxstate()
294 mod_timer(&ssi->keep_alive, jiffies + in ssip_set_rxstate()
296 mod_timer(&ssi->rx_wd, jiffies + msecs_to_jiffies(SSIP_WDTOUT)); in ssip_set_rxstate()
303 static void ssip_set_txstate(struct ssi_protocol *ssi, unsigned int state) in ssip_set_txstate() argument
305 ssi->send_state = state; in ssip_set_txstate()
309 del_timer(&ssi->tx_wd); in ssip_set_txstate()
310 if (ssi->recv_state == RECV_IDLE) in ssip_set_txstate()
311 del_timer(&ssi->keep_alive); in ssip_set_txstate()
316 mod_timer(&ssi->keep_alive, in ssip_set_txstate()
318 mod_timer(&ssi->tx_wd, jiffies + msecs_to_jiffies(SSIP_WDTOUT)); in ssip_set_txstate()
328 struct ssi_protocol *ssi; in ssip_slave_get_master() local
330 list_for_each_entry(ssi, &ssip_list, link) in ssip_slave_get_master()
331 if (slave->device.parent == ssi->cl->device.parent) { in ssip_slave_get_master()
332 master = ssi->cl; in ssip_slave_get_master()
342 struct ssi_protocol *ssi = hsi_client_drvdata(master); in ssip_slave_start_tx() local
344 dev_dbg(&master->device, "start TX %d\n", atomic_read(&ssi->tx_usecnt)); in ssip_slave_start_tx()
345 spin_lock_bh(&ssi->lock); in ssip_slave_start_tx()
346 if (ssi->send_state == SEND_IDLE) { in ssip_slave_start_tx()
347 ssip_set_txstate(ssi, WAIT4READY); in ssip_slave_start_tx()
350 spin_unlock_bh(&ssi->lock); in ssip_slave_start_tx()
351 atomic_inc(&ssi->tx_usecnt); in ssip_slave_start_tx()
359 struct ssi_protocol *ssi = hsi_client_drvdata(master); in ssip_slave_stop_tx() local
361 WARN_ON_ONCE(atomic_read(&ssi->tx_usecnt) == 0); in ssip_slave_stop_tx()
363 if (atomic_dec_and_test(&ssi->tx_usecnt)) { in ssip_slave_stop_tx()
364 spin_lock_bh(&ssi->lock); in ssip_slave_stop_tx()
365 if ((ssi->send_state == SEND_READY) || in ssip_slave_stop_tx()
366 (ssi->send_state == WAIT4READY)) { in ssip_slave_stop_tx()
367 ssip_set_txstate(ssi, SEND_IDLE); in ssip_slave_stop_tx()
370 spin_unlock_bh(&ssi->lock); in ssip_slave_stop_tx()
372 dev_dbg(&master->device, "stop TX %d\n", atomic_read(&ssi->tx_usecnt)); in ssip_slave_stop_tx()
380 struct ssi_protocol *ssi = hsi_client_drvdata(master); in ssip_slave_running() local
381 return netif_running(ssi->netdev); in ssip_slave_running()
387 struct ssi_protocol *ssi = hsi_client_drvdata(cl); in ssip_reset() local
391 if (netif_running(ssi->netdev)) in ssip_reset()
392 netif_carrier_off(ssi->netdev); in ssip_reset()
394 spin_lock_bh(&ssi->lock); in ssip_reset()
395 if (ssi->send_state != SEND_IDLE) in ssip_reset()
397 spin_unlock_bh(&ssi->lock); in ssip_reset()
398 if (test_and_clear_bit(SSIP_WAKETEST_FLAG, &ssi->flags)) in ssip_reset()
400 spin_lock_bh(&ssi->lock); in ssip_reset()
401 del_timer(&ssi->rx_wd); in ssip_reset()
402 del_timer(&ssi->tx_wd); in ssip_reset()
403 del_timer(&ssi->keep_alive); in ssip_reset()
404 ssi->main_state = 0; in ssip_reset()
405 ssi->send_state = 0; in ssip_reset()
406 ssi->recv_state = 0; in ssip_reset()
407 ssi->flags = 0; in ssip_reset()
408 ssi->rxid = 0; in ssip_reset()
409 ssi->txid = 0; in ssip_reset()
410 list_for_each_safe(head, tmp, &ssi->txqueue) { in ssip_reset()
416 ssi->txqueue_len = 0; in ssip_reset()
417 spin_unlock_bh(&ssi->lock); in ssip_reset()
422 struct ssi_protocol *ssi = hsi_client_drvdata(cl); in ssip_dump_state() local
425 spin_lock_bh(&ssi->lock); in ssip_dump_state()
426 dev_err(&cl->device, "Main state: %d\n", ssi->main_state); in ssip_dump_state()
427 dev_err(&cl->device, "Recv state: %d\n", ssi->recv_state); in ssip_dump_state()
428 dev_err(&cl->device, "Send state: %d\n", ssi->send_state); in ssip_dump_state()
429 dev_err(&cl->device, "CMT %s\n", (ssi->main_state == ACTIVE) ? in ssip_dump_state()
432 test_bit(SSIP_WAKETEST_FLAG, &ssi->flags)); in ssip_dump_state()
433 dev_err(&cl->device, "Data RX id: %d\n", ssi->rxid); in ssip_dump_state()
434 dev_err(&cl->device, "Data TX id: %d\n", ssi->txid); in ssip_dump_state()
436 list_for_each_entry(msg, &ssi->txqueue, link) in ssip_dump_state()
438 spin_unlock_bh(&ssi->lock); in ssip_dump_state()
443 struct ssi_protocol *ssi = hsi_client_drvdata(cl); in ssip_error() local
448 msg = ssip_claim_cmd(ssi); in ssip_error()
455 struct ssi_protocol *ssi = from_timer(ssi, t, keep_alive); in ssip_keep_alive() local
456 struct hsi_client *cl = ssi->cl; in ssip_keep_alive()
459 ssi->main_state, ssi->recv_state, ssi->send_state); in ssip_keep_alive()
461 spin_lock(&ssi->lock); in ssip_keep_alive()
462 if (ssi->recv_state == RECV_IDLE) in ssip_keep_alive()
463 switch (ssi->send_state) { in ssip_keep_alive()
465 if (atomic_read(&ssi->tx_usecnt) == 0) in ssip_keep_alive()
473 spin_unlock(&ssi->lock); in ssip_keep_alive()
476 mod_timer(&ssi->keep_alive, jiffies + msecs_to_jiffies(SSIP_KATOUT)); in ssip_keep_alive()
477 spin_unlock(&ssi->lock); in ssip_keep_alive()
482 struct ssi_protocol *ssi = from_timer(ssi, t, rx_wd); in ssip_rx_wd() local
483 struct hsi_client *cl = ssi->cl; in ssip_rx_wd()
491 struct ssi_protocol *ssi = from_timer(ssi, t, tx_wd); in ssip_tx_wd() local
492 struct hsi_client *cl = ssi->cl; in ssip_tx_wd()
500 struct ssi_protocol *ssi = hsi_client_drvdata(cl); in ssip_send_bootinfo_req_cmd() local
504 msg = ssip_claim_cmd(ssi); in ssip_send_bootinfo_req_cmd()
509 msg = ssip_claim_cmd(ssi); in ssip_send_bootinfo_req_cmd()
516 struct ssi_protocol *ssi = hsi_client_drvdata(cl); in ssip_start_rx() local
519 dev_dbg(&cl->device, "RX start M(%d) R(%d)\n", ssi->main_state, in ssip_start_rx()
520 ssi->recv_state); in ssip_start_rx()
521 spin_lock_bh(&ssi->lock); in ssip_start_rx()
526 if ((ssi->main_state != ACTIVE) || (ssi->recv_state == RECV_READY)) { in ssip_start_rx()
527 spin_unlock_bh(&ssi->lock); in ssip_start_rx()
530 ssip_set_rxstate(ssi, RECV_READY); in ssip_start_rx()
531 spin_unlock_bh(&ssi->lock); in ssip_start_rx()
533 msg = ssip_claim_cmd(ssi); in ssip_start_rx()
542 struct ssi_protocol *ssi = hsi_client_drvdata(cl); in ssip_stop_rx() local
544 dev_dbg(&cl->device, "RX stop M(%d)\n", ssi->main_state); in ssip_stop_rx()
545 spin_lock_bh(&ssi->lock); in ssip_stop_rx()
546 if (likely(ssi->main_state == ACTIVE)) in ssip_stop_rx()
547 ssip_set_rxstate(ssi, RECV_IDLE); in ssip_stop_rx()
548 spin_unlock_bh(&ssi->lock); in ssip_stop_rx()
560 struct ssi_protocol *ssi = hsi_client_drvdata(cl); in ssip_strans_complete() local
565 spin_lock_bh(&ssi->lock); in ssip_strans_complete()
566 ssip_set_txstate(ssi, SENDING); in ssip_strans_complete()
567 spin_unlock_bh(&ssi->lock); in ssip_strans_complete()
573 struct ssi_protocol *ssi = hsi_client_drvdata(cl); in ssip_xmit() local
577 spin_lock_bh(&ssi->lock); in ssip_xmit()
578 if (list_empty(&ssi->txqueue)) { in ssip_xmit()
579 spin_unlock_bh(&ssi->lock); in ssip_xmit()
582 dmsg = list_first_entry(&ssi->txqueue, struct hsi_msg, link); in ssip_xmit()
584 ssi->txqueue_len--; in ssip_xmit()
585 spin_unlock_bh(&ssi->lock); in ssip_xmit()
587 msg = ssip_claim_cmd(ssi); in ssip_xmit()
593 spin_lock_bh(&ssi->lock); in ssip_xmit()
595 ssi->txid)); in ssip_xmit()
596 ssi->txid++; in ssip_xmit()
597 ssip_set_txstate(ssi, SENDING); in ssip_xmit()
598 spin_unlock_bh(&ssi->lock); in ssip_xmit()
641 struct ssi_protocol *ssi = hsi_client_drvdata(cl); in ssip_rx_data_complete() local
650 del_timer(&ssi->rx_wd); /* FIXME: Revisit */ in ssip_rx_data_complete()
658 struct ssi_protocol *ssi = hsi_client_drvdata(cl); in ssip_rx_bootinforeq() local
665 switch (ssi->main_state) { in ssip_rx_bootinforeq()
672 spin_lock_bh(&ssi->lock); in ssip_rx_bootinforeq()
673 ssi->main_state = HANDSHAKE; in ssip_rx_bootinforeq()
674 spin_unlock_bh(&ssi->lock); in ssip_rx_bootinforeq()
676 if (!test_and_set_bit(SSIP_WAKETEST_FLAG, &ssi->flags)) in ssip_rx_bootinforeq()
679 spin_lock_bh(&ssi->lock); in ssip_rx_bootinforeq()
681 mod_timer(&ssi->tx_wd, jiffies + msecs_to_jiffies(SSIP_WDTOUT)); in ssip_rx_bootinforeq()
682 spin_unlock_bh(&ssi->lock); in ssip_rx_bootinforeq()
686 msg = ssip_claim_cmd(ssi); in ssip_rx_bootinforeq()
692 dev_dbg(&cl->device, "Wrong state M(%d)\n", ssi->main_state); in ssip_rx_bootinforeq()
699 struct ssi_protocol *ssi = hsi_client_drvdata(cl); in ssip_rx_bootinforesp() local
704 spin_lock_bh(&ssi->lock); in ssip_rx_bootinforesp()
705 if (ssi->main_state != ACTIVE) in ssip_rx_bootinforesp()
707 mod_timer(&ssi->tx_wd, jiffies + msecs_to_jiffies(SSIP_WDTOUT)); in ssip_rx_bootinforesp()
710 ssi->main_state); in ssip_rx_bootinforesp()
711 spin_unlock_bh(&ssi->lock); in ssip_rx_bootinforesp()
716 struct ssi_protocol *ssi = hsi_client_drvdata(cl); in ssip_rx_waketest() local
719 spin_lock_bh(&ssi->lock); in ssip_rx_waketest()
720 if (ssi->main_state != HANDSHAKE) { in ssip_rx_waketest()
722 ssi->main_state); in ssip_rx_waketest()
723 spin_unlock_bh(&ssi->lock); in ssip_rx_waketest()
726 spin_unlock_bh(&ssi->lock); in ssip_rx_waketest()
728 if (test_and_clear_bit(SSIP_WAKETEST_FLAG, &ssi->flags)) in ssip_rx_waketest()
731 spin_lock_bh(&ssi->lock); in ssip_rx_waketest()
732 ssi->main_state = ACTIVE; in ssip_rx_waketest()
733 del_timer(&ssi->tx_wd); /* Stop boot handshake timer */ in ssip_rx_waketest()
734 spin_unlock_bh(&ssi->lock); in ssip_rx_waketest()
743 netif_wake_queue(ssi->netdev); in ssip_rx_waketest()
744 netif_carrier_on(ssi->netdev); in ssip_rx_waketest()
749 struct ssi_protocol *ssi = hsi_client_drvdata(cl); in ssip_rx_ready() local
751 spin_lock_bh(&ssi->lock); in ssip_rx_ready()
752 if (unlikely(ssi->main_state != ACTIVE)) { in ssip_rx_ready()
754 ssi->send_state, ssi->main_state); in ssip_rx_ready()
755 spin_unlock_bh(&ssi->lock); in ssip_rx_ready()
758 if (ssi->send_state != WAIT4READY) { in ssip_rx_ready()
760 spin_unlock_bh(&ssi->lock); in ssip_rx_ready()
763 ssip_set_txstate(ssi, SEND_READY); in ssip_rx_ready()
764 spin_unlock_bh(&ssi->lock); in ssip_rx_ready()
770 struct ssi_protocol *ssi = hsi_client_drvdata(cl); in ssip_rx_strans() local
776 spin_lock_bh(&ssi->lock); in ssip_rx_strans()
777 if (unlikely(ssi->main_state != ACTIVE)) { in ssip_rx_strans()
779 ssi->send_state, ssi->main_state); in ssip_rx_strans()
780 spin_unlock_bh(&ssi->lock); in ssip_rx_strans()
783 ssip_set_rxstate(ssi, RECEIVING); in ssip_rx_strans()
784 if (unlikely(SSIP_MSG_ID(cmd) != ssi->rxid)) { in ssip_rx_strans()
786 SSIP_MSG_ID(cmd), ssi->rxid); in ssip_rx_strans()
787 spin_unlock_bh(&ssi->lock); in ssip_rx_strans()
790 ssi->rxid++; in ssip_rx_strans()
791 spin_unlock_bh(&ssi->lock); in ssip_rx_strans()
792 skb = netdev_alloc_skb(ssi->netdev, len * 4); in ssip_rx_strans()
798 msg = ssip_alloc_data(ssi, skb, GFP_ATOMIC); in ssip_rx_strans()
855 struct ssi_protocol *ssi = hsi_client_drvdata(cl); in ssip_swbreak_complete() local
858 spin_lock_bh(&ssi->lock); in ssip_swbreak_complete()
859 if (list_empty(&ssi->txqueue)) { in ssip_swbreak_complete()
860 if (atomic_read(&ssi->tx_usecnt)) { in ssip_swbreak_complete()
861 ssip_set_txstate(ssi, SEND_READY); in ssip_swbreak_complete()
863 ssip_set_txstate(ssi, SEND_IDLE); in ssip_swbreak_complete()
866 spin_unlock_bh(&ssi->lock); in ssip_swbreak_complete()
868 spin_unlock_bh(&ssi->lock); in ssip_swbreak_complete()
871 netif_wake_queue(ssi->netdev); in ssip_swbreak_complete()
877 struct ssi_protocol *ssi = hsi_client_drvdata(cl); in ssip_tx_data_complete() local
885 spin_lock_bh(&ssi->lock); in ssip_tx_data_complete()
886 if (list_empty(&ssi->txqueue)) { in ssip_tx_data_complete()
887 ssip_set_txstate(ssi, SENDING_SWBREAK); in ssip_tx_data_complete()
888 spin_unlock_bh(&ssi->lock); in ssip_tx_data_complete()
889 cmsg = ssip_claim_cmd(ssi); in ssip_tx_data_complete()
895 spin_unlock_bh(&ssi->lock); in ssip_tx_data_complete()
919 struct ssi_protocol *ssi = hsi_client_drvdata(cl); in ssip_pn_open() local
924 dev_err(&cl->device, "SSI port already claimed\n"); in ssip_pn_open()
934 dev_dbg(&cl->device, "Configuring SSI port\n"); in ssip_pn_open()
937 if (!test_and_set_bit(SSIP_WAKETEST_FLAG, &ssi->flags)) in ssip_pn_open()
940 spin_lock_bh(&ssi->lock); in ssip_pn_open()
941 ssi->main_state = HANDSHAKE; in ssip_pn_open()
942 spin_unlock_bh(&ssi->lock); in ssip_pn_open()
962 struct ssi_protocol *ssi = in ssip_xmit_work() local
964 struct hsi_client *cl = ssi->cl; in ssip_xmit_work()
972 struct ssi_protocol *ssi = hsi_client_drvdata(cl); in ssip_pn_xmit() local
983 * Modem sends Phonet messages over SSI with its own endianness. in ssip_pn_xmit()
992 msg = ssip_alloc_data(ssi, skb, GFP_ATOMIC); in ssip_pn_xmit()
999 spin_lock_bh(&ssi->lock); in ssip_pn_xmit()
1000 if (unlikely(ssi->main_state != ACTIVE)) { in ssip_pn_xmit()
1001 spin_unlock_bh(&ssi->lock); in ssip_pn_xmit()
1005 list_add_tail(&msg->link, &ssi->txqueue); in ssip_pn_xmit()
1006 ssi->txqueue_len++; in ssip_pn_xmit()
1007 if (dev->tx_queue_len < ssi->txqueue_len) { in ssip_pn_xmit()
1008 dev_info(&cl->device, "TX queue full %d\n", ssi->txqueue_len); in ssip_pn_xmit()
1011 if (ssi->send_state == SEND_IDLE) { in ssip_pn_xmit()
1012 ssip_set_txstate(ssi, WAIT4READY); in ssip_pn_xmit()
1013 spin_unlock_bh(&ssi->lock); in ssip_pn_xmit()
1014 dev_dbg(&cl->device, "Start TX qlen %d\n", ssi->txqueue_len); in ssip_pn_xmit()
1016 } else if (ssi->send_state == SEND_READY) { in ssip_pn_xmit()
1019 ssi->txqueue_len); in ssip_pn_xmit()
1020 spin_unlock_bh(&ssi->lock); in ssip_pn_xmit()
1021 schedule_work(&ssi->work); in ssip_pn_xmit()
1023 spin_unlock_bh(&ssi->lock); in ssip_pn_xmit()
1042 struct ssi_protocol *ssi = hsi_client_drvdata(master); in ssip_reset_event() local
1043 dev_err(&ssi->cl->device, "CMT reset detected!\n"); in ssip_reset_event()
1044 ssip_error(ssi->cl); in ssip_reset_event()
1076 struct ssi_protocol *ssi; in ssi_protocol_probe() local
1079 ssi = kzalloc(sizeof(*ssi), GFP_KERNEL); in ssi_protocol_probe()
1080 if (!ssi) in ssi_protocol_probe()
1083 spin_lock_init(&ssi->lock); in ssi_protocol_probe()
1084 timer_setup(&ssi->rx_wd, ssip_rx_wd, TIMER_DEFERRABLE); in ssi_protocol_probe()
1085 timer_setup(&ssi->tx_wd, ssip_tx_wd, TIMER_DEFERRABLE); in ssi_protocol_probe()
1086 timer_setup(&ssi->keep_alive, ssip_keep_alive, 0); in ssi_protocol_probe()
1087 INIT_LIST_HEAD(&ssi->txqueue); in ssi_protocol_probe()
1088 INIT_LIST_HEAD(&ssi->cmdqueue); in ssi_protocol_probe()
1089 atomic_set(&ssi->tx_usecnt, 0); in ssi_protocol_probe()
1090 hsi_client_set_drvdata(cl, ssi); in ssi_protocol_probe()
1091 ssi->cl = cl; in ssi_protocol_probe()
1092 INIT_WORK(&ssi->work, ssip_xmit_work); in ssi_protocol_probe()
1094 ssi->channel_id_cmd = hsi_get_channel_id_by_name(cl, "mcsaab-control"); in ssi_protocol_probe()
1095 if (ssi->channel_id_cmd < 0) { in ssi_protocol_probe()
1096 err = ssi->channel_id_cmd; in ssi_protocol_probe()
1101 ssi->channel_id_data = hsi_get_channel_id_by_name(cl, "mcsaab-data"); in ssi_protocol_probe()
1102 if (ssi->channel_id_data < 0) { in ssi_protocol_probe()
1103 err = ssi->channel_id_data; in ssi_protocol_probe()
1108 err = ssip_alloc_cmds(ssi); in ssi_protocol_probe()
1114 ssi->netdev = alloc_netdev(0, ifname, NET_NAME_UNKNOWN, ssip_pn_setup); in ssi_protocol_probe()
1115 if (!ssi->netdev) { in ssi_protocol_probe()
1122 ssi->netdev->min_mtu = PHONET_MIN_MTU; in ssi_protocol_probe()
1123 ssi->netdev->max_mtu = SSIP_MAX_MTU; in ssi_protocol_probe()
1125 SET_NETDEV_DEV(ssi->netdev, dev); in ssi_protocol_probe()
1126 netif_carrier_off(ssi->netdev); in ssi_protocol_probe()
1127 err = register_netdev(ssi->netdev); in ssi_protocol_probe()
1133 list_add(&ssi->link, &ssip_list); in ssi_protocol_probe()
1136 ssi->channel_id_cmd, ssi->channel_id_data); in ssi_protocol_probe()
1140 free_netdev(ssi->netdev); in ssi_protocol_probe()
1142 ssip_free_cmds(ssi); in ssi_protocol_probe()
1144 kfree(ssi); in ssi_protocol_probe()
1152 struct ssi_protocol *ssi = hsi_client_drvdata(cl); in ssi_protocol_remove() local
1154 list_del(&ssi->link); in ssi_protocol_remove()
1155 unregister_netdev(ssi->netdev); in ssi_protocol_remove()
1156 ssip_free_cmds(ssi); in ssi_protocol_remove()
1158 kfree(ssi); in ssi_protocol_remove()
1165 .name = "ssi-protocol",
1174 pr_info("SSI protocol aka McSAAB added\n"); in ssip_init()
1183 pr_info("SSI protocol driver removed\n"); in ssip_exit()
1187 MODULE_ALIAS("hsi:ssi-protocol");
1190 MODULE_DESCRIPTION("SSI protocol improved aka McSAAB");