# HG changeset patch # User sergeig # Date 1300634839 0 # Node ID 03f0c5170e9d78c2e6f0cd599d806a4c16b2528f # Parent 0092797d62f6f144a212264979cebcf0f7e5e6ae * include/pcmb.inc: To allow the BIOS timer interrupt handler to switch off the drive, we need to make sure interrupts are enabled. diff --git a/packages/hal/i386/pcmb/current/ChangeLog b/packages/hal/i386/pcmb/current/ChangeLog --- a/packages/hal/i386/pcmb/current/ChangeLog +++ b/packages/hal/i386/pcmb/current/ChangeLog @@ -1,3 +1,8 @@ +2011-03-17 Horst Schirmeier + + * include/pcmb.inc: To allow the BIOS timer interrupt handler to + switch off the drive, we need to make sure interrupts are enabled. + 2006-06-02 Nick Garnett * include/pcmb_io.h (HAL_PCI_TRANSLATE_INTERRUPT): Fixed PCI diff --git a/packages/hal/i386/pcmb/current/include/pcmb.inc b/packages/hal/i386/pcmb/current/include/pcmb.inc --- a/packages/hal/i386/pcmb/current/include/pcmb.inc +++ b/packages/hal/i386/pcmb/current/include/pcmb.inc @@ -214,9 +214,12 @@ _endload: 1: - /* Lets be nice and wait for the diskette drive motor to go off - * before continuing. */ + /* Let's be nice and wait for the diskette drive motor to go off + * before continuing. To allow the BIOS timer interrupt handler + * to switch off the drive, we need to make sure interrupts are + * enabled. */ + sti movw $0x40, %ax movw %ax, %es movl $0x40, %ebx