[PATCH] Split timer resources

From: Pierre Ossman
Date: Sun Aug 22 2004 - 15:53:54 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/