diff options
Diffstat (limited to 'drivers/char/rtc.c')
-rw-r--r-- | drivers/char/rtc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/char/rtc.c b/drivers/char/rtc.c index 97014d26a..ea9fded05 100644 --- a/drivers/char/rtc.c +++ b/drivers/char/rtc.c @@ -669,15 +669,15 @@ found: if (!(ctrl & RTC_DM_BINARY) || RTC_ALWAYS_BCD) BCD_TO_BIN(year); /* This should never happen... */ - if (year > 10 && year < 44) { + if (year > 20 && year < 48) { epoch = 1980; guess = "ARC console"; - } else if (year >= 70 && year <= 72) { - epoch = 1928; - guess = "Digital DECstation"; - } else if (year < 96) { + } else if (year >= 48 && year < 70) { epoch = 1952; guess = "Digital UNIX"; + } else if (year >= 70 && year < 100) { + epoch = 1928; + guess = "Digital DECstation"; } if (guess) printk("rtc: %s epoch (%lu) detected\n", guess, epoch); |