Rev 1280 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1280 | Rev 1288 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; ;; |
5 | ;; ;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
Line 8... | Line 8... | ||
8 | $Revision: 1280 $ |
8 | $Revision: 1288 $ |
9 | 9 | ||
10 | 10 | ||
Line 2132... | Line 2132... | ||
2132 | jae @f |
2132 | jae @f |
2133 | mov ecx, ETH_ZLEN |
2133 | mov ecx, ETH_ZLEN |
2134 | @@: |
2134 | @@: |
2135 | ; calculate |
2135 | ; calculate |
2136 | mov ebx, ecx |
2136 | mov ebx, ecx |
2137 | test byte [e3c59x_has_hwcksm], 0xff |
2137 | ;test byte [e3c59x_has_hwcksm], 0xff |
2138 | jz @f |
2138 | ;jz @f |
2139 | ;;; or ebx, (1 shl 26) ; set AddTcpChecksum |
2139 | ;or ebx, (1 shl 26) ; set AddTcpChecksum |
2140 | @@: |
2140 | ;@@: |
2141 | or ebx, 0x8000 ; transmission complete notification |
2141 | or ebx, 0x8000 ; transmission complete notification |
2142 | or ecx, 0x80000000 ; last fragment |
2142 | or ecx, 0x80000000 ; last fragment |
2143 | ; program DPD |
2143 | ; program DPD |
2144 | mov edi, eax |
2144 | mov edi, eax |
2145 | pop eax |
2145 | pop eax |