Lines Matching defs:nodeid
176 int nodeid; /* Set to 1 once have nodeid. */
190 static int cops_nodeid (struct net_device *dev, int nodeid);
457 * the nodeid, if it is reset it will lose it all.
463 * If atalkd already gave us a nodeid we will use that
464 * one again, else we wait for atalkd to give us a nodeid
466 * our nodeid while we are resetting.
468 if(lp->nodeid == 1)
601 * any nodeid 1-254. The card will try and get that exact
602 * address else we can specify 0 as the nodeid and the card
603 * will autoprobe for a nodeid.
605 static int cops_nodeid (struct net_device *dev, int nodeid)
624 outb(nodeid, ioaddr); /* Suggest node address. */
637 /* Not sure what Tangent does if nodeid picked is used. */
638 if(nodeid == 0) /* Seed. */
639 nodeid = jiffies&0xFF; /* Get a random try */
643 outb(nodeid, ioaddr); /* LAP address hint. */
647 lp->node_acquire=0; /* Set nodeid holder to 0. */
648 while(lp->node_acquire==0) /* Get *True* nodeid finally. */
655 cops_rx(dev); /* Grab the nodeid put in lp->node_acquire. */
660 cops_rx(dev); /* Grab the nodeid put in lp->node_acquire. */
669 lp->nodeid=1; /* Set got nodeid to 1. */
820 /* Set nodeid and then get out. */
939 /* Get and set the nodeid and network # atalkd wants. */