mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Gortmaker <p_gortmaker@yahoo.com>
To: "Randy.Dunlap" <rddunlap@osdl.org>,
	Rusty Lynch <rusty@linux.co.intel.com>
Cc: p_gortmaker@yahoo.com, lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH][Trvial 2.5.59] rtc.c is requesting more ioports then it really uses
Date: Sun, 9 Feb 2003 00:47:18 -0800 (PST)	[thread overview]
Message-ID: <20030209084718.74815.qmail@web11106.mail.yahoo.com> (raw)
In-Reply-To: <Pine.LNX.4.33L2.0302071512350.13440-100000@dragon.pdx.osdl.net>

Seems fine with me.  If memory serves correctly the 0x10 came
from kernels prior to the rtc driver where the range was 
requested as part of the generic i386 specific i/o space that
was off limits.

Paul.

--- "Randy.Dunlap" <rddunlap@osdl.org> wrote:
> On 7 Feb 2003, Rusty Lynch wrote:
> 
> | I need to enable a device that talks to port 0x79h, but for some
> | reason the rtc is requesting move bytes then it really uses.  Here
> | is a patch that makes the rtc only request what it uses.
> |
> |     --rustyl
> |
> | --- drivers/char/rtc.c.orig	2003-02-07 14:35:31.000000000 -0800
> | +++ drivers/char/rtc.c	2003-02-07 13:25:45.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	0x2
> |
> |  /*
> |   *	Note that *all* calls to CMOS_READ and CMOS_WRITE are done with
> | -
> 
> Some Intel chipset specs list RTC as using 0x70 - 0x77, probably with
> some aliasing in there, so it looks to me like an EXTENT of 8 would be
> safer and still allow you access to 0x79.
> 
> I'm looking at 82801BA-ICH2, 82801-ICH3, and 82801AA-ICH0 specs.
> 
> -- 
> ~Randy
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

      reply	other threads:[~2003-02-09  8:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-07 22:40 Rusty Lynch
2003-02-07 23:18 ` Randy.Dunlap
2003-02-09  8:47   ` Paul Gortmaker [this message]

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=20030209084718.74815.qmail@web11106.mail.yahoo.com \
    --to=p_gortmaker@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rddunlap@osdl.org \
    --cc=rusty@linux.co.intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®