public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pierre Ossman <drzeus-list@drzeus.cx>
To: linux-kernel@vger.kernel.org
Cc: akpm@osdl.org
Subject: [PATCH] Split timer resources
Date: Sun, 22 Aug 2004 22:52:54 +0200	[thread overview]
Message-ID: <412907A6.9000404@drzeus.cx> (raw)

The kernel currently allocates the range 0x40-0x5f for timer calls. This 
causes conflicts with other hardware using these ports (In my case a 
Winbond W83L519D SD/MMC card reader). This patch splits the resource 
into the ports actually needed.

diff -u linux-2.6.8.1{,-mmc}/arch/i386/kernel/setup.c --- 
linux-2.6.8.1/arch/i386/kernel/setup.c      2004-08-14 
12:55:32.000000000 +0200
+++ linux-2.6.8.1-mmc/arch/i386/kernel/setup.c  2004-08-20 
23:46:43.708979200 +0200
@@ -218,9 +218,14 @@
        .end    = 0x0021,
        .flags  = IORESOURCE_BUSY | IORESOURCE_IO
 }, {
-       .name   = "timer",
+       .name   = "timer0",
        .start  = 0x0040,
-       .end    = 0x005f,
+       .end    = 0x0043,
+       .flags  = IORESOURCE_BUSY | IORESOURCE_IO
+},{
+       .name   = "timer1",
+       .start  = 0x0050,
+       .end    = 0x0053,
        .flags  = IORESOURCE_BUSY | IORESOURCE_IO
 }, {
        .name   = "keyboard",


                 reply	other threads:[~2004-08-22 20:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=412907A6.9000404@drzeus.cx \
    --to=drzeus-list@drzeus.cx \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /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