svn commit: r200357 - head/sys/boot/i386/libi386

John Baldwin jhb at FreeBSD.org
Thu Dec 10 06:54:29 PST 2009


Author: jhb
Date: Thu Dec 10 14:54:29 2009
New Revision: 200357
URL: http://svn.freebsd.org/changeset/base/200357

Log:
  Don't warn about an RSDP with a corrupt checksum.  The kernel does a better
  job about warning about these things later and this message can be
  confusing.
  
  Submitted by:	infofarmer
  MFC after:	1 week

Modified:
  head/sys/boot/i386/libi386/biosacpi.c

Modified: head/sys/boot/i386/libi386/biosacpi.c
==============================================================================
--- head/sys/boot/i386/libi386/biosacpi.c	Thu Dec 10 14:41:47 2009	(r200356)
+++ head/sys/boot/i386/libi386/biosacpi.c	Thu Dec 10 14:54:29 2009	(r200357)
@@ -125,10 +125,8 @@ biosacpi_search_rsdp(char *base, int len
 	    sum = 0;
 	    for (idx = 0; idx < RSDP_CHECKSUM_LENGTH; idx++)
 		sum += *(cp + idx);
-	    if (sum != 0) {
-		printf("acpi: bad RSDP checksum (%d)\n", sum);
+	    if (sum != 0)
 		continue;
-	    }
 	    return(rsdp);
 	}
     }


More information about the svn-src-all mailing list