Subversion Repositories Kolibri OS

Rev

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

Rev 8867 Rev 8896
Line 19... Line 19...
19
;;          GNU GENERAL PUBLIC LICENSE                             ;;
19
;;          GNU GENERAL PUBLIC LICENSE                             ;;
20
;;             Version 2, June 1991                                ;;
20
;;             Version 2, June 1991                                ;;
21
;;                                                                 ;;
21
;;                                                                 ;;
22
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
22
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 23... Line 23...
23
 
23
 
Line 24... Line 24...
24
$Revision: 8867 $
24
$Revision: 8896 $
25
 
25
 
26
uglobal
26
uglobal
27
        net_10ms        dd ?
27
        net_10ms        dd ?
Line 176... Line 176...
176
 
176
 
177
        unload          dd ?    ; Ptrs to driver functions
177
        unload          dd ?    ; Ptrs to driver functions
178
        reset           dd ?    ;
178
        reset           dd ?    ;
Line -... Line 179...
-
 
179
        transmit        dd ?    ;
-
 
180
 
-
 
181
        link_state      dd ?    ; link state (0 = no link)
179
        transmit        dd ?    ;
182
        hwacc           dd ?    ; bitmask stating enabled HW accelerations (offload engines)
180
 
183
 
-
 
184
        bytes_tx        dq ?    ; Statistics, updated by the driver
181
        bytes_tx        dq ?    ; Statistics, updated by the driver
185
        bytes_rx        dq ?    ;
-
 
186
 
182
        bytes_rx        dq ?    ;
187
        packets_tx      dd ?    ;
-
 
188
        packets_tx_err  dd ?    ; CRC errors, too long or too short frames
Line 183... Line 189...
183
        packets_tx      dd ?    ;
189
        packets_tx_drop dd ?    ;
184
        packets_rx      dd ?    ;
190
        packets_tx_ovr  dd ?    ; FIFO overrun
-
 
191
 
-
 
192
        packets_rx      dd ?    ;
Line 185... Line 193...
185
 
193
        packets_rx_err  dd ?    ; CRC errors, too long or too short frames
Line 186... Line 194...
186
        link_state      dd ?    ; link state (0 = no link)
194
        packets_rx_drop dd ?    ;
Line 408... Line 416...
408
 
416
 
Line 409... Line 417...
409
        DEBUGF  DEBUG_NETWORK_VERBOSE, "net_buff_free: 0x%x\n", [buffer]
417
        DEBUGF  DEBUG_NETWORK_VERBOSE, "net_buff_free: 0x%x\n", [buffer]
Line 410... Line 418...
410
 
418
 
411
        spin_lock_irqsave
419
        spin_lock_irqsave
412
 
420
 
413
        sub     [net_buffs_free.current], 4
421
        sub     [net_buffs_free.current], 4             ; move pointer backwards
Line 414... Line 422...
414
        mov     eax, [net_buffs_free.current]
422
        mov     eax, [net_buffs_free.current]           ; place free'd buffer pointer on the list