patch-2.1.16 linux/include/asm-i386/string.h
Next file: linux/include/asm-ppc/atomic.h
Previous file: linux/include/asm-i386/pgtable.h
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Wed Dec 18 10:02:49 1996
- Orig file:
v2.1.15/linux/include/asm-i386/string.h
- Orig date:
Sat Apr 20 13:12:23 1996
diff -u --recursive --new-file v2.1.15/linux/include/asm-i386/string.h linux/include/asm-i386/string.h
@@ -402,6 +402,10 @@
case 4:
*(unsigned long *)to = *(const unsigned long *)from;
return to;
+ case 6: /* for ethernet addresses */
+ *(unsigned long *)to = *(const unsigned long *)from;
+ *(2+(unsigned short *)to) = *(2+(const unsigned short *)from);
+ return to;
case 8:
*(unsigned long *)to = *(const unsigned long *)from;
*(1+(unsigned long *)to) = *(1+(const unsigned long *)from);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov