lkml.org 
[lkml]   [2004]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Split timer resources
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",
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.041 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site