ioport_resource / iomem_resource - PCI specific?

ioport_resource / iomem_resource - PCI specific?

am 11.01.2007 03:16:14 von Rajat Jain

Hi,

I have a doubt regarding the following definitions in kernel/resource.c:

struct resource ioport_resource = {
.name = "PCI IO",
.start = 0x0000,
.end = IO_SPACE_LIMIT,
.flags = IORESOURCE_IO,
};

struct resource iomem_resource = {
.name = "PCI mem",
.start = 0UL,
.end = ~0UL,
.flags = IORESOURCE_MEM,
};

Aren't the symbols ioport_resource and iomem_resource meant for
"generic" resource management for all buses / devices? If yes, then
why their names have "PCI" tagged to them?

Just Curious,

Rajat
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs