[lkml]   [2003]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[2.5.63 PATCH][TRIVIAL]Change rtc.c ioport extend from 10h to 8h
The real time clock only needs 8 bytes, but rtc.c is reserving 10h bytes.
This conflicts with zt55XX cpci compute blades that use one of those
extra bytes (port 79h) to control a watchdog timer.

I raised this issue before on LKML and everyone seemed to be ok with changing
the extent of rtc.c to 0x8:

I have been running the following patch on three of my Linux servers for
the last couple of weeks with no problems, and two of those server were
testing the watchdog timer that uses port 79h.

Please apply this patch.


--- drivers/char/rtc.c.orig 2003-02-26 11:00:50.000000000 -0800
+++ drivers/char/rtc.c 2003-02-26 11:00:43.000000000 -0800
@@ -47,7 +47,7 @@

#define RTC_VERSION "1.11"

-#define RTC_IO_EXTENT 0x10 /* Only really two ports, but... */
+#define RTC_IO_EXTENT 0x8

* Note that *all* calls to CMOS_READ and CMOS_WRITE are done with

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:33    [W:0.100 / U:4.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site