devether.ed (1061B)
1 /"pool\.h"/d 2 /^static Ether/i 3 extern int memsize; 4 . 5 ,s!mainmem->maxsize / 8!memsize!g 6 ,s/MACHP(0)->ticks/MACHP(0)->tscticks/g 7 /isaconfig/;/}/d 8 /cistrcmp/;+1d 9 /getconf/;+2d 10 /intrenable/-6;+6d 11 ,s/(etherxx\[chan->dev\]/(\ðerxx\[chan->dev\]->ni/ 12 /^ethercreate/ s/Chan\*, char\*, int, ulong/Chan* ch, char* c, int i, ulong ul/ 13 /^etherwrite/ s/vlong/vlong v/ 14 /^etherbwrite/ s/ulong/ulong u/ 15 /activemulti(/ s/ether/\&&->ni/ 16 /netifread(/ s/ether/\&&->ni/ 17 /netifwrite(/ s/ether/\&&->ni/ 18 /netifinit(/ s/ether/\&&->ni/ 19 ,s/ether->inpackets/ether->ni.inpackets/g 20 ,s/ether->f/ether->ni.f/g 21 ,s/ether->soverflows/ether->ni.soverflows/g 22 ,s/ether->outpackets/ether->ni.outpackets/g 23 ,s/ether->bcast/ether->ni.bcast/g 24 ,s/ether->prom/ether->ni.prom/g 25 ,s/ether->mbps/ether->ni.mbps/g 26 ,s/ether->alen/ether->ni.alen/g 27 ,s/ether->addr/ether->ni.addr/g 28 ,s/ether->limit/ether->ni.limit/g 29 ,s/ether->nopt/ether->isac.nopt/g 30 ,s/ether->opt/ether->isac.opt/g 31 ,s/ether->mem/ether->isac.mem/g 32 ,s/ether->size/ether->isac.size/g 33 ,s/ether->port/ether->isac.port/g 34 ,s/ether->irq/ether->isac.irq/g