summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2009-12-10 14:54:29 +0000
committerjhb <jhb@FreeBSD.org>2009-12-10 14:54:29 +0000
commit71c74ac3138f88ccfed78e84266cec28b1e51e24 (patch)
treed76a9e94e8fbb4c22bd62a3b340b82928b726e77
parent78d04c5982efaeda9c9aba98347c9c03a85899ad (diff)
downloadFreeBSD-src-71c74ac3138f88ccfed78e84266cec28b1e51e24.zip
FreeBSD-src-71c74ac3138f88ccfed78e84266cec28b1e51e24.tar.gz
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
-rw-r--r--sys/boot/i386/libi386/biosacpi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/boot/i386/libi386/biosacpi.c b/sys/boot/i386/libi386/biosacpi.c
index 0815983..e9e2436 100644
--- a/sys/boot/i386/libi386/biosacpi.c
+++ b/sys/boot/i386/libi386/biosacpi.c
@@ -125,10 +125,8 @@ biosacpi_search_rsdp(char *base, int length)
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);
}
}
OpenPOWER on IntegriCloud