tag | line | file | source code |
---|---|---|---|
dev_dummy | 141 | drivers/net/dummy.c | static struct device dev_dummy = { |
dev_dummy | 152 | drivers/net/dummy.c | while(dev_get(dev_dummy.name)!=NULL && ct<100) |
dev_dummy | 154 | drivers/net/dummy.c | sprintf(dev_dummy.name,"dummy%d",ct); |
dev_dummy | 160 | drivers/net/dummy.c | if (register_netdev(&dev_dummy) != 0) |
dev_dummy | 167 | drivers/net/dummy.c | unregister_netdev(&dev_dummy); |
dev_dummy | 168 | drivers/net/dummy.c | kfree(dev_dummy.priv); |
dev_dummy | 169 | drivers/net/dummy.c | dev_dummy.priv = NULL; |