aboutsummaryrefslogtreecommitdiff
path: root/src/serial.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-06-08 19:18:33 -0400
committerKevin O'Connor <kevin@koconnor.net>2008-06-08 19:18:33 -0400
commit35192dda4c789c7bdaf78d5c84b1bd8b57bd319b (patch)
treec9b07731e326818184723ead7e798e951844ac34 /src/serial.c
parentda4a6482c94dbae35064be24cd71f1b22de6d50c (diff)
downloadseabios-hppa-35192dda4c789c7bdaf78d5c84b1bd8b57bd319b.zip
seabios-hppa-35192dda4c789c7bdaf78d5c84b1bd8b57bd319b.tar.gz
seabios-hppa-35192dda4c789c7bdaf78d5c84b1bd8b57bd319b.tar.bz2
Move debugging messages to appropriate functions.
Move dprintf calls from post() to the function calls that perform the work.
Diffstat (limited to 'src/serial.c')
-rw-r--r--src/serial.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/serial.c b/src/serial.c
index f9988a3..5f5afce 100644
--- a/src/serial.c
+++ b/src/serial.c
@@ -30,6 +30,7 @@ detect_serial(u16 port, u8 timeout, u8 count)
void
serial_setup()
{
+ dprintf(3, "init serial\n");
u16 count = 0;
count += detect_serial(0x3f8, 0x0a, count);
count += detect_serial(0x2f8, 0x0a, count);
@@ -184,6 +185,7 @@ detect_parport(u16 port, u8 timeout, u8 count)
void
lpt_setup()
{
+ dprintf(3, "init lpt\n");
u16 count = 0;
count += detect_parport(0x378, 0x14, count);
count += detect_parport(0x278, 0x14, count);