All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Split timer resources
@ 2004-08-22 20:52 Pierre Ossman
  0 siblings, 0 replies; only message in thread
From: Pierre Ossman @ 2004-08-22 20:52 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-08-22 20:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-22 20:52 [PATCH] Split timer resources Pierre Ossman

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.