mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* PATCH: newer boards put other hw at rtc + 0x08
@ 2003-03-21 19:24 Alan Cox
  2003-03-25  9:11 ` Chris Wedgwood
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Cox @ 2003-03-21 19:24 UTC (permalink / raw)
  To: linux-kernel, torvalds

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.65/drivers/char/rtc.c linux-2.5.65-ac2/drivers/char/rtc.c
--- linux-2.5.65/drivers/char/rtc.c	2003-03-18 16:46:47.000000000 +0000
+++ linux-2.5.65-ac2/drivers/char/rtc.c	2003-03-18 16:58:24.000000000 +0000
@@ -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] 3+ messages in thread

* Re: PATCH: newer boards put other hw at rtc + 0x08
  2003-03-21 19:24 PATCH: newer boards put other hw at rtc + 0x08 Alan Cox
@ 2003-03-25  9:11 ` Chris Wedgwood
  2003-03-25 16:23   ` Randy.Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Wedgwood @ 2003-03-25  9:11 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel, torvalds

On Fri, Mar 21, 2003 at 07:24:37PM +0000, Alan Cox wrote:

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

If the comment was/is correct then was not 0x2?


  --cw

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

* Re: PATCH: newer boards put other hw at rtc + 0x08
  2003-03-25  9:11 ` Chris Wedgwood
@ 2003-03-25 16:23   ` Randy.Dunlap
  0 siblings, 0 replies; 3+ messages in thread
From: Randy.Dunlap @ 2003-03-25 16:23 UTC (permalink / raw)
  To: Chris Wedgwood; +Cc: alan, linux-kernel, torvalds

On Tue, 25 Mar 2003 01:11:53 -0800 Chris Wedgwood <cw@f00f.org> wrote:

| On Fri, Mar 21, 2003 at 07:24:37PM +0000, Alan Cox wrote:
| 
| > -#define RTC_IO_EXTENT 0x10 /* Only really two ports, but... */
| > +#define RTC_IO_EXTENT 0x8
| 
| If the comment was/is correct then was not 0x2?

The comment is only partially correct, depending on how the device
is used.  It can be used in modes that use 8 ports.

--
~Randy

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

end of thread, other threads:[~2003-03-25 16:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-21 19:24 PATCH: newer boards put other hw at rtc + 0x08 Alan Cox
2003-03-25  9:11 ` Chris Wedgwood
2003-03-25 16:23   ` Randy.Dunlap

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®