From: Kevin O'Connor Date: Thu, 7 May 2009 03:25:40 +0000 (-0400) Subject: Minor - report found serial and lpt ports. X-Git-Tag: rel-0.4.1~84 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=4edb2759795a5679bc4858e225d5b597e7dcd7dc;p=seabios.git Minor - report found serial and lpt ports. --- diff --git a/src/serial.c b/src/serial.c index f9857e4..1537f6d 100644 --- a/src/serial.c +++ b/src/serial.c @@ -1,6 +1,6 @@ // 16bit code to handle serial and printer services. // -// Copyright (C) 2008 Kevin O'Connor +// Copyright (C) 2008,2009 Kevin O'Connor // Copyright (C) 2002 MandrakeSoft S.A. // // This file may be distributed under the terms of the GNU LGPLv3 license. @@ -40,6 +40,7 @@ serial_setup() count += detect_serial(0x2f8, 0x0a, count); count += detect_serial(0x3e8, 0x0a, count); count += detect_serial(0x2e8, 0x0a, count); + dprintf(1, "Found %d serial ports\n", count); // Equipment word bits 9..11 determing # serial ports u16 eqb = GET_BDA(equipment_list_flags); @@ -203,6 +204,7 @@ lpt_setup() u16 count = 0; count += detect_parport(0x378, 0x14, count); count += detect_parport(0x278, 0x14, count); + dprintf(1, "Found %d lpt ports\n", count); // Equipment word bits 14..15 determing # parallel ports u16 eqb = GET_BDA(equipment_list_flags);