Subversion Repositories Kolibri OS

Rev

Rev 8356 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8356 Rev 10062
Line 1... Line 1...
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                                 ;;
2
;;                                                                 ;;
3
;; Copyright (C) KolibriOS team 2010-2016. All rights reserved.    ;;
3
;; Copyright (C) KolibriOS team 2010-2024. 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
;;  netcfg.asm - Network driver control center for KolibriOS       ;;
6
;;  netcfg.asm - Network driver control center for KolibriOS       ;;
7
;;                                                                 ;;
7
;;                                                                 ;;
8
;;  Written by hidnplayr@kolibrios.org                             ;;
8
;;  Written by hidnplayr@kolibrios.org                             ;;
Line 417... Line 417...
417
        test    ax, ax
417
        test    ax, ax
418
        jz      .find
418
        jz      .find
419
        cmp     ax, cx
419
        cmp     ax, cx
420
        jne     .fn
420
        jne     .fn
421
.find:  mov     edx, [edx - 4]
421
.find:  mov     edx, [edx - 4]
422
        mcall   4,, 0x80000000          ; lets print the vendor Name
422
        mcall   4,, 0x80000000          ; let's print the vendor Name
Line 423... Line 423...
423
 
423
 
424
;------------------------------------------------------------------
424
;------------------------------------------------------------------
425
; Get description based on Class/Subclass
425
; Get description based on Class/Subclass
426
;------------------------------------------------------------------
426
;------------------------------------------------------------------
Line 458... Line 458...
458
        push    ebx
458
        push    ebx
Line 459... Line 459...
459
 
459
 
460
        call    get_drv_ptr
460
        call    get_drv_ptr
461
        mov     edx, eax
461
        mov     edx, eax
462
        pop     ebx
462
        pop     ebx
463
        mcall   4,,0x80000000          ; lets print the vendor Name
463
        mcall   4,,0x80000000          ; let's print the vendor Name
464
        pop     edx
464
        pop     edx
Line 465... Line 465...
465
        ret
465
        ret
466
 
466
 
Line 489... Line 489...
489
        je      .nodriver
489
        je      .nodriver
490
        mov     eax, ebx
490
        mov     eax, ebx
491
        jmp     .driverloop
491
        jmp     .driverloop
Line 492... Line 492...
492
 
492
 
493
  .nodriver:
493
  .nodriver:
494
        mov     eax, lbl_none          ; lets print the vendor Name
494
        mov     eax, lbl_none          ; let's print the vendor Name
Line 495... Line 495...
495
        ret
495
        ret
496
 
496
 
Line 553... Line 553...
553
selected        dw ?
553
selected        dw ?
554
V_Bus           db ?
554
V_Bus           db ?
555
V_Dev           db ?
555
V_Dev           db ?
556
PCI_Version     dw ?
556
PCI_Version     dw ?
557
PCI_LastBus     db ?
557
PCI_LastBus     db ?
558
; Dont change order
558
; Don't change order
559
PCI_Vendor      dw ?
559
PCI_Vendor      dw ?
560
PCI_Device      dw ?
560
PCI_Device      dw ?
Line 561... Line 561...
561
 
561
 
562
PCI_Bus         db ?
562
PCI_Bus         db ?
563
PCI_Dev         db ?
563
PCI_Dev         db ?
564
PCI_Rev         db ?
564
PCI_Rev         db ?
565
; Dont change order
565
; Don't change order
566
PCI_Class       db ?
566
PCI_Class       db ?
567
PCI_SubClass    db ?
567
PCI_SubClass    db ?
568
PCI_Interface   db ?
568
PCI_Interface   db ?