[x86 setup] APM: BX should be zero when disconnecting
authorH. Peter Anvin <hpa@zytor.com>
Mon, 23 Jul 2007 22:37:14 +0000 (15:37 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 25 Jul 2007 19:02:21 +0000 (12:02 -0700)
commit1a13286b104faeeb4f4bc3bfbf4d4fcdcd2569ed
tree37fef9c9676b5efe90773a8b7ba4832ae492f6ef
parent1514ab09edb071345fe17cd230c97f9e72c9478e
[x86 setup] APM: BX should be zero when disconnecting

For APM calls, BX contains the device index, which is zero for
the system BIOS.  Disconnect requres BX = 0.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/i386/boot/apm.c