if ((res->data.extended_irq.number_of_interrupts > 0) && valid_IRQ(res->data.extended_irq.interrupts[0])) { pnpacpi_parse_allocated_irqresource(res_table, acpi_register_gsi(res->data.extended_irq.interrupts[0], res->data.extended_irq.edge_level, res->data.extended_irq.active_high_low)); pcibios_penalize_isa_irq(res->data.extended_irq.interrupts[0], 1); 
for (i = 0; i < res->data.extended_irq.number_of_interrupts; i++) { pnpacpi_parse_allocated_irqresource(res_table, res->data.extended_irq.interrupts[i], res->data.extended_irq.edge_level, res->data.extended_irq.active_high_low); 
static acpi_status pnpacpi_allocated_resource(struct acpi_resource *res,	void *data){	struct pnp_resource_table * res_table = (struct pnp_resource_table *)data;	switch (res->id) {	case ACPI_RSTYPE_IRQ:		if ((res->data.irq.number_of_interrupts > 0) &&			valid_IRQ(res->data.irq.interrupts[0])) {			pnpacpi_parse_allocated_irqresource(res_table, 				acpi_register_gsi(res->data.irq.interrupts[0],					res->data.irq.edge_level,					res->data.irq.active_high_low));			pcibios_penalize_isa_irq(res->data.irq.interrupts[0], 1);		}		break;	case ACPI_RSTYPE_EXT_IRQ:		if ((res->data.extended_irq.number_of_interrupts > 0) &&			valid_IRQ(res->data.extended_irq.interrupts[0])) {			pnpacpi_parse_allocated_irqresource(res_table, 				acpi_register_gsi(res->data.extended_irq.interrupts[0],					res->data.extended_irq.edge_level,					res->data.extended_irq.active_high_low));			pcibios_penalize_isa_irq(res->data.extended_irq.interrupts[0], 1);		}		break;	case ACPI_RSTYPE_DMA:		if (res->data.dma.number_of_channels > 0)			pnpacpi_parse_allocated_dmaresource(res_table, 					res->data.dma.channels[0]);		break;	case ACPI_RSTYPE_IO:		pnpacpi_parse_allocated_ioresource(res_table, 				res->data.io.min_base_address, 				res->data.io.range_length);		break;	case ACPI_RSTYPE_FIXED_IO:		pnpacpi_parse_allocated_ioresource(res_table, 				res->data.fixed_io.base_address, 				res->data.fixed_io.range_length);		break;	case ACPI_RSTYPE_MEM24:		pnpacpi_parse_allocated_memresource(res_table, 				res->data.memory24.min_base_address, 				res->data.memory24.range_length);		break;	case ACPI_RSTYPE_MEM32:		pnpacpi_parse_allocated_memresource(res_table, 				res->data.memory32.min_base_address, 				res->data.memory32.range_length);		break;	case ACPI_RSTYPE_FIXED_MEM32:		pnpacpi_parse_allocated_memresource(res_table, 				res->data.fixed_memory32.range_base_address, 				res->data.fixed_memory32.range_length);		break;	case ACPI_RSTYPE_ADDRESS16:		pnpacpi_parse_allocated_memresource(res_table, 				res->data.address16.min_address_range, 				res->data.address16.address_length);		break;	case ACPI_RSTYPE_ADDRESS32:		pnpacpi_parse_allocated_memresource(res_table, 				res->data.address32.min_address_range, 				res->data.address32.address_length);		break;	case ACPI_RSTYPE_ADDRESS64:		pnpacpi_parse_allocated_memresource(res_table, 		res->data.address64.min_address_range, 		res->data.address64.address_length);		break;	case ACPI_RSTYPE_VENDOR:		break;	default:		pnp_warn("PnPACPI: unknown resource type %d", res->id);		return AE_ERROR;	}				return AE_OK;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/dbed12da5bb06b15c63930e9282b45daea566d7b/rsparser.c/clean/drivers/pnp/pnpacpi/rsparser.c