[PATCH] Split timer resources (AMD64)

From: Pierre Ossman
Date: Sun Sep 05 2004 - 09:11:44 EST


This patch splits timer resource from 0x40-0x5f to 0x40-0x43, 0x50-053 for x86_64. A patch doing this for i386 was released earlier. Forgot that we have two x86 platforms.

--
Pierre Ossman

--- linux-2.6.9-rc1.orig/arch/x86_64/kernel/setup.c 2004-08-24 09:01:52.000000000 +0200
+++ linux-2.6.9-rc1/arch/x86_64/kernel/setup.c 2004-09-05 14:54:32.385922840 +0200
@@ -105,7 +105,8 @@ char command_line[COMMAND_LINE_SIZE];
struct resource standard_io_resources[] = {
{ "dma1", 0x00, 0x1f, IORESOURCE_BUSY | IORESOURCE_IO },
{ "pic1", 0x20, 0x21, IORESOURCE_BUSY | IORESOURCE_IO },
- { "timer", 0x40, 0x5f, IORESOURCE_BUSY | IORESOURCE_IO },
+ { "timer0", 0x40, 0x43, IORESOURCE_BUSY | IORESOURCE_IO },
+ { "timer1", 0x50, 0x53, IORESOURCE_BUSY | IORESOURCE_IO },
{ "keyboard", 0x60, 0x6f, IORESOURCE_BUSY | IORESOURCE_IO },
{ "dma page reg", 0x80, 0x8f, IORESOURCE_BUSY | IORESOURCE_IO },
{ "pic2", 0xa0, 0xa1, IORESOURCE_BUSY | IORESOURCE_IO },