From bfe052ed74889f0e25ecf5ebc48f24e5ebe4ba3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 16 Sep 2004 10:39:14 +0000 Subject: [PATCH] I accidently mixed up the parameter order of the ISA I/O calls, thanks to Stefano for reporting this. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8980 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/drivers/arch/x86/keyboard/keyboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/add-ons/kernel/drivers/arch/x86/keyboard/keyboard.c b/src/add-ons/kernel/drivers/arch/x86/keyboard/keyboard.c index 8a6080850d..09d551627a 100644 --- a/src/add-ons/kernel/drivers/arch/x86/keyboard/keyboard.c +++ b/src/add-ons/kernel/drivers/arch/x86/keyboard/keyboard.c @@ -101,9 +101,9 @@ static void set_leds(void) { wait_for_output(); - gISA->write_io_8(0xed, 0x60); + gISA->write_io_8(0x60, 0xed); wait_for_output(); - gISA->write_io_8(leds, 0x60); + gISA->write_io_8(0x60, leds); }