Rev 5567 | Rev 6124 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5567 | Rev 6119 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;; ;; |
2 | ;; ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2016. 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 | ;; RTL8169 driver for KolibriOS ;; |
6 | ;; RTL8169 driver for KolibriOS ;; |
7 | ;; ;; |
7 | ;; ;; |
8 | ;; Copyright 2007 mike.dld, ;; |
8 | ;; Copyright 2007 mike.dld, ;; |
9 | ;; mike.dld@gmail.com ;; |
9 | ;; mike.dld@gmail.com ;; |
10 | ;; ;; |
10 | ;; ;; |
11 | ;; port to net branch by hidnplayr ;; |
11 | ;; Port to the new network stack by hidnplayr ;; |
12 | ;; ;; |
12 | ;; ;; |
13 | ;; References: ;; |
13 | ;; References: ;; |
14 | ;; r8169.c - linux driver (etherboot project) ;; |
14 | ;; r8169.c - linux driver (etherboot project) ;; |
15 | ;; ;; |
15 | ;; ;; |
16 | ;; GNU GENERAL PUBLIC LICENSE ;; |
16 | ;; GNU GENERAL PUBLIC LICENSE ;; |
Line 558... | Line 558... | ||
558 | je @f |
558 | je @f |
559 | add esi, 4*4 |
559 | add esi, 4*4 |
560 | jmp @r |
560 | jmp @r |
561 | @@: |
561 | @@: |
Line 562... | Line 562... | ||
562 | 562 | ||
563 | mov eax, [esi+8] |
563 | mov ecx, [esi+8] |
564 | mov [ebx + device.mac_version], eax |
564 | mov [ebx + device.mac_version], ecx |
565 | mov eax, [esi+12] |
565 | mov ecx, [esi+12] |
566 | mov [ebx + device.name], eax |
566 | mov [ebx + device.name], ecx |
- | 567 | DEBUGF 2, "Detected chip: %s\n", ecx |
|
- | 568 | cmp dword[esi], 0 |
|
- | 569 | jne @f |
|
- | 570 | DEBUGF 2, "TxConfig = 0x%x\n", eax |
|
Line 567... | Line 571... | ||
567 | DEBUGF 2, "Detected chip: %s\n", eax |
571 | @@: |
568 | 572 |