| plan 9 kernel history: overview | file list | diff list |
1997/0418/pc/devether.c (diff list | history)
| 1997/0415/sys/src/9/pc/devether.c:398,406 – 1997/0418/sys/src/9/pc/devether.c:398,404 (short | long | prev | next) | ||
| 1997/0415 | for(i = 0; i < len; i++){ b = *p++; for(j = 0; j < 8; j++){ | |
| 1997/0418 | crc = (crc>>1) ^ (((crc^b) & 1) ? POLY : 0); | |
| 1997/0415 | b >>= 1; } } | |