Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/acpica/acpi.c
Show First 20 Lines • Show All 1,313 Lines • ▼ Show 20 Lines | if (!(type == SYS_RES_IOPORT && start == CONF1_ADDR_PORT)) { | ||||
return (0); | return (0); | ||||
} | } | ||||
} | } | ||||
AcpiOsFree(devinfo); | AcpiOsFree(devinfo); | ||||
} | } | ||||
} | } | ||||
#endif | #endif | ||||
#ifdef INTRNG | |||||
/* map with default for now */ | |||||
if (type == SYS_RES_IRQ) | |||||
start = (rman_res_t)acpi_map_intr(child, (u_int)start, | |||||
acpi_get_handle(child)); | |||||
#endif | |||||
/* If the resource is already allocated, fail. */ | /* If the resource is already allocated, fail. */ | ||||
if (resource_list_busy(rl, type, rid)) | if (resource_list_busy(rl, type, rid)) | ||||
return (EBUSY); | return (EBUSY); | ||||
/* If the resource is already reserved, release it. */ | /* If the resource is already reserved, release it. */ | ||||
if (resource_list_reserved(rl, type, rid)) | if (resource_list_reserved(rl, type, rid)) | ||||
resource_list_unreserve(rl, dev, child, type, rid); | resource_list_unreserve(rl, dev, child, type, rid); | ||||
▲ Show 20 Lines • Show All 2,976 Lines • Show Last 20 Lines |