{
struct net_dev_context *nd = netdev_priv(dev);
- netdev_info(dev, "open net device\n");
-
BUG_ON(!nd->tx.linked || !nd->rx.linked);
if (most_start_channel(nd->iface, nd->rx.ch_id, &aim)) {
{
struct net_dev_context *nd = netdev_priv(dev);
- netdev_info(dev, "stop net device\n");
-
netif_stop_queue(dev);
if (nd->iface->request_netinfo)
nd->iface->request_netinfo(nd->iface, nd->tx.ch_id, NULL);
static int __init most_net_init(void)
{
- pr_info("most_net_init()\n");
spin_lock_init(&list_lock);
return most_register_aim(&aim);
}
static void __exit most_net_exit(void)
{
- pr_info("most_net_exit()\n");
most_deregister_aim(&aim);
}