All of lore.kernel.org
 help / color / mirror / Atom feed
* [2.5.63 PATCH][TRIVIAL]Change rtc.c ioport extend from 10h to 8h
@ 2003-02-26 19:09 Rusty Lynch
  2003-02-26 19:35 ` Richard B. Johnson
  0 siblings, 1 reply; 5+ messages in thread
From: Rusty Lynch @ 2003-02-26 19:09 UTC (permalink / raw)
  To: Alan Cox; +Cc: p_gortmaker, lkml

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:
http://marc.theaimsgroup.com/?l=linux-kernel&m=104478057030481&w=2

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.

    --rustyl

--- 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




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-02-26 20:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-26 19:09 [2.5.63 PATCH][TRIVIAL]Change rtc.c ioport extend from 10h to 8h Rusty Lynch
2003-02-26 19:35 ` Richard B. Johnson
2003-02-26 19:42   ` Rusty Lynch
2003-02-26 20:29     ` Richard B. Johnson
2003-02-26 20:46       ` Randy.Dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.