Skip to contentSkip to conversation

Split timer resources (AMD64)

PATCH New Pierre Ossman 1 participant 1 message Sep 5, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Split timer resources (AMD64)

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

arch/x86_64/kernel/setup.c +2 -1
@@ -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 },