ioport_resource / iomem_resource - PCI specific?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux