All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rusty Lynch <rusty@linux.co.intel.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: p_gortmaker@yahoo.com, lkml <linux-kernel@vger.kernel.org>
Subject: [2.5.63 PATCH][TRIVIAL]Change rtc.c ioport extend from 10h to 8h
Date: 26 Feb 2003 11:09:57 -0800	[thread overview]
Message-ID: <1046286599.4093.3.camel@vmhack> (raw)

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




             reply	other threads:[~2003-02-26 19:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-26 19:09 Rusty Lynch [this message]
2003-02-26 19:35 ` [2.5.63 PATCH][TRIVIAL]Change rtc.c ioport extend from 10h to 8h 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1046286599.4093.3.camel@vmhack \
    --to=rusty@linux.co.intel.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=p_gortmaker@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.