[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

patch for kernel 2.2.19



Description:
  Amiga 2000 battery backed up clock stores years as 2 BCD digits.

Solution:
  Add 100 during read, subtract 100 before storing.
  0 <= yy < 78 => year = yy+2000
  78 <= yy < 0 => year = yy + 1900

Notes:
   A3000 clock used different hardware, but it is supposed to have the
same problem. It seems to work though ...

Erik
--

Attachment: a2000_batclock.patch
Description: Mac BinHex archive


Reply to: