PNP: define PNP-specific IORESOURCE_IO_* flags alongside IRQ, DMA, MEM
PNP previously defined PNP_PORT_FLAG_16BITADDR and PNP_PORT_FLAG_FIXED in a private header file, but put those flags in struct resource.flags fields. Better to make them IORESOURCE_IO_* flags like the existing IRQ, DMA, and MEM flags. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Andi Kleen <ak@linux.intel.com> Acked-by: Rene Herman <rene.herman@gmail.com> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
committed by
Andi Kleen
parent
b72ee1f11e
commit
08c9f262f2
@@ -57,7 +57,7 @@ static void pnp_print_port(pnp_info_buffer_t * buffer, char *space,
|
||||
"%sport 0x%x-0x%x, align 0x%x, size 0x%x, %i-bit address decoding\n",
|
||||
space, port->min, port->max,
|
||||
port->align ? (port->align - 1) : 0, port->size,
|
||||
port->flags & PNP_PORT_FLAG_16BITADDR ? 16 : 10);
|
||||
port->flags & IORESOURCE_IO_16BIT_ADDR ? 16 : 10);
|
||||
}
|
||||
|
||||
static void pnp_print_irq(pnp_info_buffer_t * buffer, char *space,
|
||||
|
Reference in New Issue
Block a user