Lines Matching refs:nop
675 nop_t nop;
694 * insert packet followed by a nop
709 nop.nop_status = 0;
710 nop.nop_command = CMD_NOP;
711 nop.nop_link = nopaddr;
717 ether1_writebuffer (dev, &nop, nopaddr, NOP_SIZE);
721 /* now reset the previous nop pointer */
744 nop_t nop;
750 ether1_readbuffer (dev, &nop, caddr, NOP_SIZE);
752 switch (nop.nop_command & CMD_MASK) {
765 if (nop.nop_link == caddr) {
772 if (caddr == nop.nop_link)
774 caddr = nop.nop_link;
778 if (nop.nop_status & STAT_COMPLETE)
786 nop.nop_command & CMD_MASK, caddr);
791 while (nop.nop_status & STAT_COMPLETE) {
792 if (nop.nop_status & STAT_OK) {
794 dev->stats.collisions += (nop.nop_status & STAT_COLLISIONS);
798 if (nop.nop_status & STAT_COLLAFTERTX)
800 if (nop.nop_status & STAT_NOCARRIER)
802 if (nop.nop_status & STAT_TXLOSTCTS)
804 if (nop.nop_status & STAT_TXSLOWDMA)
806 if (nop.nop_status & STAT_COLLEXCESSIVE)
810 if (nop.nop_link == caddr) {
815 caddr = nop.nop_link;
816 ether1_readbuffer (dev, &nop, caddr, NOP_SIZE);
817 if ((nop.nop_command & CMD_MASK) != CMD_NOP) {
818 printk (KERN_ERR "%s: tx buffer chaining error: no nop after tx command\n", dev->name);
822 if (caddr == nop.nop_link)
825 caddr = nop.nop_link;
826 ether1_readbuffer (dev, &nop, caddr, NOP_SIZE);
827 if ((nop.nop_command & CMD_MASK) != CMD_TX) {
828 printk (KERN_ERR "%s: tx buffer chaining error: no tx command after nop\n", dev->name);