Disabled all calls to dbg_get_serial_output() (it's no longer available

in the kernel).
Also disabled all calls to dbg_set_serial_output() - it has been removed
as well (there is now only set_dprintf_enabled()), and it wasn't needed
at all anyway.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5306 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2003-11-11 03:09:31 +00:00
parent 91d35b5f62
commit 545d6e9c8d

View File

@ -157,10 +157,10 @@ handle_keyboard_interrupt(void *data)
case SCR_LOCK: case SCR_LOCK:
if (leds & LED_SCROLL) { if (leds & LED_SCROLL) {
leds &= ~LED_SCROLL; leds &= ~LED_SCROLL;
dbg_set_serial_debug(false); //set_dprintf_enabled(false);
} else { } else {
leds |= LED_SCROLL; leds |= LED_SCROLL;
dbg_set_serial_debug(true); //set_dprintf_enabled(true);
} }
set_leds(); set_leds();
break; break;
@ -181,9 +181,11 @@ handle_keyboard_interrupt(void *data)
case SYS_REQ: case SYS_REQ:
panic("Keyboard Requested Halt\n"); panic("Keyboard Requested Halt\n");
break; break;
#if 0
case F11: case F11:
dbg_set_serial_debug(dbg_get_serial_debug() ? false : true); dbg_set_serial_debug(dbg_get_serial_debug() ? false : true);
break; break;
#endif
case F12: case F12:
reboot(); reboot();
break; break;
@ -382,8 +384,10 @@ init_driver()
leds = 0; leds = 0;
// have the scroll lock reflect the state of serial debugging // have the scroll lock reflect the state of serial debugging
#if 0
if (dbg_get_serial_debug()) if (dbg_get_serial_debug())
leds |= LED_SCROLL; leds |= LED_SCROLL;
#endif
set_leds(); set_leds();
head = tail = 0; head = tail = 0;