Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-5] src/sys/dev/ic



Module Name:    src
Committed By:   snj
Date:           Fri May  1 01:56:16 UTC 2009

Modified Files:
        src/sys/dev/ic [netbsd-5]: gem.c hme.c

Log Message:
Pull up following revision(s) (requested by tsutsui in ticket #595):
        sys/dev/ic/gem.c: revision 1.83
        sys/dev/ic/hme.c: revision 1.73
Fix a bug in calculation of checksum deduction:
- To get 16 bit one's complement value from uint32_t variable,
  higher 16 bits should be ignored.
- RFC 1624 describes methods to recalculate checksum field in headers,
  i.e. one's complement of one's complement sum that could be 0x0000,
  but we don't have to use the strategy to deduct one's complement sum
  itself which won't be zero but should be 0xffff.
Found on debugging mec(4) on sgimips O2.


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.78.4.1 src/sys/dev/ic/gem.c
cvs rdiff -u -r1.66.10.2 -r1.66.10.3 src/sys/dev/ic/hme.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index