Rev 1206 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1206 | Rev 1251 | ||
---|---|---|---|
Line 8... | Line 8... | ||
8 | ;; ;; |
8 | ;; ;; |
9 | ;; Status: under construction ;; |
9 | ;; Status: under construction ;; |
10 | ;; ;; |
10 | ;; ;; |
11 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
11 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 12... | Line 12... | ||
12 | 12 | ||
Line 13... | Line 13... | ||
13 | $Revision: 1206 $ |
13 | ; $Revision: 1251 $ |
Line 14... | Line 14... | ||
14 | 14 | ||
Line 1256... | Line 1256... | ||
1256 | ; Received packet ok? |
1256 | ; Received packet ok? |
Line 1257... | Line 1257... | ||
1257 | 1257 | ||
1258 | test ax, PCNET_CSR_RINT |
1258 | test ax, PCNET_CSR_RINT |
Line -... | Line 1259... | ||
- | 1259 | jz @f |
|
1259 | jz @f |
1260 | |
1260 | 1261 | .receiver_test_loop: |
|
1261 | movzx eax, [ebx + device.cur_rx] |
1262 | movzx eax, [ebx + device.cur_rx] |
Line 1262... | Line 1263... | ||
1262 | ; and eax, PCNET_RX_RING_MOD_MASK |
1263 | ; and eax, PCNET_RX_RING_MOD_MASK |
Line 1286... | Line 1287... | ||
1286 | stdcall KernelAlloc, ecx ; Allocate a buffer to put packet into |
1287 | stdcall KernelAlloc, ecx ; Allocate a buffer to put packet into |
1287 | pop ecx |
1288 | pop ecx |
1288 | test eax, eax ; Test if we allocated succesfully |
1289 | test eax, eax ; Test if we allocated succesfully |
1289 | jz .abort ; |
1290 | jz .abort ; |
Line -... | Line 1291... | ||
- | 1291 | ||
1290 | 1292 | push .receiver_test_loop ; |
|
1291 | push ecx ; for eth_receiver |
1293 | push ecx ; for eth_receiver |
Line 1292... | Line 1294... | ||
1292 | push eax ; |
1294 | push eax ; |
1293 | 1295 |