| plan 9 kernel history: overview | file list | diff list |
2000/0921/pc/devether.c (diff list | history)
| 2000/0817/sys/src/9/pc/devether.c:258,266 – 2000/0921/sys/src/9/pc/devether.c:258,266 (short | long | prev | next) | ||
| 2000/0817 | error(Ebadctl); } | |
| 1997/1101 |
| |
| 2000/0921 | if(n > ether->maxmtu) | |
| 1997/1101 | error(Etoobig); | |
| 2000/0921 | if(n < ether->minmtu) | |
| 1997/1101 | error(Etoosmall); | |
| 1997/0327 | bp = allocb(n); | |
| 2000/0817/sys/src/9/pc/devether.c:284,299 – 2000/0921/sys/src/9/pc/devether.c:284,300 | ||
| 2000/0817 | nexterror(); } n = etherwrite(chan, bp->rp, n, 0); | |
| 2000/0921 | poperror(); | |
| 1997/0327 | freeb(bp); return n; } | |
| 2000/0817 | ether = etherxx[chan->dev]; | |
| 1997/0327 | ||
| 1997/1101 |
| |
| 2000/0921 | if(n > ether->maxmtu){ | |
| 1997/1101 | freeb(bp); | |
| 2000/0921 | error(Etoobig); | |
| 1997/1101 | } | |
| 2000/0921 | if(n < ether->minmtu){ | |
| 1997/1101 | freeb(bp); error(Etoosmall); } | |
| 2000/0817/sys/src/9/pc/devether.c:355,360 – 2000/0921/sys/src/9/pc/devether.c:356,363 | ||
| 1997/0327 | ether->ctlrno = ctlrno; ether->tbdf = BUSUNKNOWN; ether->mbps = 10; | |
| 2000/0921 | ether->minmtu = ETHERMINTU; ether->maxmtu = ETHERMAXTU; | |
| 1997/0327 | if(isaconfig("ether", ctlrno, ether) == 0) | |
| 1993/1113 | continue; for(n = 0; cards[n].type; n++){ | |
| 2000/0817/sys/src/9/pc/devether.c:396,402 – 2000/0921/sys/src/9/pc/devether.c:399,405 | ||
| 1997/0327 | sprint(buf+i, "\n"); print(buf); | |
| 1993/0212 | ||
| 1997/0327 |
| |
| 2000/0921 | if(ether->mbps >= 100){ | |
| 1997/0327 | netifinit(ether, name, Ntypes, 256*1024); if(ether->oq == 0) ether->oq = qopen(256*1024, 1, 0, 0); | |