Subversion Repositories Kolibri OS

Rev

Rev 2401 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2401 Rev 2544
Line 12... Line 12...
12
;;          GNU GENERAL PUBLIC LICENSE                              ;;
12
;;          GNU GENERAL PUBLIC LICENSE                              ;;
13
;;             Version 2, June 1991                                 ;;
13
;;             Version 2, June 1991                                 ;;
14
;;                                                                  ;;
14
;;                                                                  ;;
15
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
15
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 16... Line 16...
16
 
16
 
Line 17... Line 17...
17
; $Revision: 2401 $
17
; $Revision: 2544 $
Line 18... Line 18...
18
 
18
 
Line 489... Line 489...
489
 
489
 
Line 490... Line 490...
490
; If the device was already loaded, find the device number and return it in eax
490
; If the device was already loaded, find the device number and return it in eax
491
 
491
 
492
  .find_devicenum:
-
 
493
        DEBUGF  1,"Trying to find device number of already registered device\n"
492
  .find_devicenum:
494
        mov     ebx, eax
493
        DEBUGF  1,"Trying to find device number of already registered device\n"
495
        call    NetPtrToNum                                             ; This kernel procedure converts a pointer to device struct in ebx
494
        call    NetPtrToNum                                             ; This kernel procedure converts a pointer to device struct in ebx
496
                                                                        ; into a device number in edi
495
                                                                        ; into a device number in edi
497
        mov     eax, edi                                                ; Application wants it in eax instead
496
        mov     eax, edi                                                ; Application wants it in eax instead