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

[ Available lists | Index of svn-src-head | Month of Dec 2009 | Week of 10 Dec 2009 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
John Baldwin <jhb@FreeBSD.org>
Date
10 Dec 2009 14:54:29
Subject
svn commit: r200357 - head/sys/boot/i386/libi386
Message-ID
200912101454.nBAEsTdB066686@svn.freebsd.org


[ Hide this part ]
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);
}
}

Elapsed time: 0.323 seconds