From 4fd932f7c126d577672855a90b7ad39c264331e8 Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Fri, 11 Jan 2013 21:07:22 +0100 Subject: [PATCH] Reduce debug messages of UART driver --- os/src/drivers/uart/i8250/main.cc | 2 +- os/src/drivers/uart/uart_component.h | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/os/src/drivers/uart/i8250/main.cc b/os/src/drivers/uart/i8250/main.cc index 14ee83543..03dd6660a 100644 --- a/os/src/drivers/uart/i8250/main.cc +++ b/os/src/drivers/uart/i8250/main.cc @@ -75,7 +75,7 @@ int main(int argc, char **argv) enum { BAUD = 115200 }; if (baudrate == 0) { - PDBG("Baudrate is not defined. Use default 115200"); + PINF("Baudrate is not defined. Use default 115200"); baudrate = BAUD; } diff --git a/os/src/drivers/uart/uart_component.h b/os/src/drivers/uart/uart_component.h index 36fecaf4f..d073989db 100644 --- a/os/src/drivers/uart/uart_component.h +++ b/os/src/drivers/uart/uart_component.h @@ -164,11 +164,7 @@ namespace Uart { unsigned uart_baudrate = 0; try { policy.attribute("baudrate").value(&uart_baudrate); - } catch (Xml_node::Nonexistent_attribute) { - PDBG("Missing \"baudrate\" attribute in policy definition"); - } - - PDBG("UART%d %d", uart_index, uart_baudrate); + } catch (Xml_node::Nonexistent_attribute) { } return new (md_alloc()) Session_component(_driver_factory, uart_index, uart_baudrate);