I was looking through linuxbios' freebios (v1) code
and see the following:
rtc_checksum_valid(PC_CKS_RANGE_START,
PC_CKS_RANGE_END,PC_CKS_LOC);
then
rtc_checksum_valid(LB_CKS_RANGE_START,
LB_CKS_RANGE_END,LB_CKS_LOC);
then finally
rtc_set_checksum(PC_CKS_RANGE_START,
PC_CKS_RANGE_END,PC_CKS_LOC);
I looked in 2.6.11's mc146818 code and I don't see it
writing a checksum so I'm not certain it's valid to
check for a checksum on boot since stuff like hwclock
may/would have written to the cmos during normal
operation. Out of curiosity, how come there is a LB
checksum and then a PC checksum and then we write a PC
checksum at the end. Is it for legacy compatibility, I
didn't find any mention of it in the mailing list and
google.
Thanks.
__________________________________
Do you Yahoo!?
Make Yahoo! your home page
http://www.yahoo.com/r/hs
_______________________________________________
Linuxbios mailing list
[email protected]
http://www.clustermatic.org/mailman/listinfo/linuxbios