Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 9570 → Rev 9571

/kernel/trunk/bus/usb/init.inc
46,6 → 46,8
db 'OHCI',0
ehci_service_name:
db 'EHCI',0
xhci_service_name:
db 'XHCI',0
endg
 
; Initializes the USB subsystem.
78,6 → 80,9
jz .do_kickoff
mov ebx, ehci_service_name
cmp byte [esi+PCIDEV.class], 0x20
jz .do_kickoff
mov ebx, xhci_service_name
cmp byte [esi+PCIDEV.class], 0x30
jnz .kickoff
.do_kickoff:
inc dword [esp]
117,6 → 122,16
; 4a. Loop over all PCI devices, call usb_init_controller
; for all EHCI controllers.
mov eax, pcidev_list
.scan_xhci:
mov eax, [eax+PCIDEV.fd]
cmp eax, pcidev_list
jz .done_xhci
cmp [eax+PCIDEV.class], 0x0C0330
jnz .scan_xhci
call usb_init_controller
jmp .scan_xhci
.done_xhci:
mov eax, pcidev_list
.scan_ehci:
mov eax, [eax+PCIDEV.fd]
cmp eax, pcidev_list
/kernel/trunk/kernel.asm
1782,7 → 1782,7
;--------------------------------------
@@:
; F.26.10 - get the time from kernel launch in nanoseconds
sub ebx, 1
dec ebx
jnz @f
 
call get_clock_ns
1792,7 → 1792,7
;--------------------------------------
@@:
; F.26.11 - Find out whether low-level HD access is enabled
sub ebx, 1
dec ebx
jnz @f
 
mov eax, [lba_read_enabled]