patch-2.4.25 linux-2.4.25/drivers/char/ds1286.c
Next file: linux-2.4.25/drivers/char/ds1742.c
Previous file: linux-2.4.25/drivers/char/drm-4.0/tdfx_drv.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2004-02-18 05:36:31.000000000 -0800
- Orig file:
linux-2.4.24/drivers/char/ds1286.c
- Orig date:
2004-01-05 05:53:56.000000000 -0800
diff -urN linux-2.4.24/drivers/char/ds1286.c linux-2.4.25/drivers/char/ds1286.c
@@ -422,7 +422,7 @@
rtc_tm->tm_sec = CMOS_READ(RTC_SECONDS);
rtc_tm->tm_min = CMOS_READ(RTC_MINUTES);
- rtc_tm->tm_hour = CMOS_READ(RTC_HOURS) & 0x1f;
+ rtc_tm->tm_hour = CMOS_READ(RTC_HOURS) & 0x3f;
rtc_tm->tm_mday = CMOS_READ(RTC_DATE);
rtc_tm->tm_mon = CMOS_READ(RTC_MONTH) & 0x1f;
rtc_tm->tm_year = CMOS_READ(RTC_YEAR);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)