Rev 914 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 914 | Rev 2971 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;; ;; |
2 | ;; ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2008. 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 | ;; ETHERNET.INC ;; |
6 | ;; ETHERNET.INC ;; |
7 | ;; ;; |
7 | ;; ;; |
8 | ;; Ethernet network layer for Menuet OS ;; |
8 | ;; Ethernet network layer for Menuet OS ;; |
9 | ;; ;; |
9 | ;; ;; |
10 | ;; Version 0.4 22 September 2003 ;; |
- | |
11 | ;; ;; |
- | |
12 | ;; This file contains the following: ;; |
10 | ;; This file contains the following: ;; |
13 | ;; PCI bus scanning for valid devices ;; |
11 | ;; PCI bus scanning for valid devices ;; |
14 | ;; Table of supported ethernet drivers ;; |
12 | ;; Table of supported ethernet drivers ;; |
15 | ;; Code to identify and activate a supported driver ;; |
13 | ;; Code to identify and activate a supported driver ;; |
16 | ;; ARP handler ;; |
14 | ;; ARP handler ;; |
Line 30... | Line 28... | ||
30 | ;; ;; |
28 | ;; ;; |
31 | ;; See file COPYING for details ;; |
29 | ;; See file COPYING for details ;; |
32 | ;; ;; |
30 | ;; ;; |
33 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
31 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 34... | Line 32... | ||
34 | 32 | ||
Line 35... | Line 33... | ||
35 | $Revision: 914 $ |
33 | $Revision: 2971 $ |
36 | 34 | ||
37 | 35 | ||
Line 351... | Line 349... | ||
351 | ; IPRX queue. |
349 | ; IPRX queue. |
352 | ; If no queue entry is available, the packet is silently discarded |
350 | ; If no queue entry is available, the packet is silently discarded |
353 | ; All registers may be destroyed |
351 | ; All registers may be destroyed |
354 | ; |
352 | ; |
355 | ;*************************************************************************** |
353 | ;*************************************************************************** |
356 | uglobal |
354 | ;uglobal |
357 | ether_IP_handler_cnt dd ? |
355 | ; ether_IP_handler_cnt dd ? |
358 | endg |
356 | ;endg |
359 | ether_IP_handler: |
357 | ether_IP_handler: |
360 | mov eax, EMPTY_QUEUE |
358 | mov eax, EMPTY_QUEUE |
361 | call dequeue |
359 | call dequeue |
362 | cmp ax, NO_BUFFER |
360 | cmp ax, NO_BUFFER |
363 | je eiph00x |
361 | je eiph00x |