|
@@ -494,12 +494,12 @@ no_voyager:
|
|
|
movw %cs, %ax # aka SETUPSEG
|
|
movw %cs, %ax # aka SETUPSEG
|
|
|
subw $DELTA_INITSEG, %ax # aka INITSEG
|
|
subw $DELTA_INITSEG, %ax # aka INITSEG
|
|
|
movw %ax, %ds
|
|
movw %ax, %ds
|
|
|
- movw $0, (0x1ff) # default is no pointing device
|
|
|
|
|
|
|
+ movb $0, (0x1ff) # default is no pointing device
|
|
|
int $0x11 # int 0x11: equipment list
|
|
int $0x11 # int 0x11: equipment list
|
|
|
testb $0x04, %al # check if mouse installed
|
|
testb $0x04, %al # check if mouse installed
|
|
|
jz no_psmouse
|
|
jz no_psmouse
|
|
|
|
|
|
|
|
- movw $0xAA, (0x1ff) # device present
|
|
|
|
|
|
|
+ movb $0xAA, (0x1ff) # device present
|
|
|
no_psmouse:
|
|
no_psmouse:
|
|
|
|
|
|
|
|
#if defined(CONFIG_X86_SPEEDSTEP_SMI) || defined(CONFIG_X86_SPEEDSTEP_SMI_MODULE)
|
|
#if defined(CONFIG_X86_SPEEDSTEP_SMI) || defined(CONFIG_X86_SPEEDSTEP_SMI_MODULE)
|