Changeset View
Changeset View
Standalone View
Standalone View
sys/x86/x86/nexus.c
Show First 20 Lines • Show All 232 Lines • ▼ Show 20 Lines | nexus_init_resources(void) | ||||
if (rman_init(&irq_rman)) | if (rman_init(&irq_rman)) | ||||
panic("nexus_init_resources irq_rman"); | panic("nexus_init_resources irq_rman"); | ||||
/* | /* | ||||
* We search for regions of existing IRQs and add those to the IRQ | * We search for regions of existing IRQs and add those to the IRQ | ||||
* resource manager. | * resource manager. | ||||
*/ | */ | ||||
for (irq = 0; irq < num_io_irqs; irq++) | for (irq = 0; irq < num_io_irqs; irq++) | ||||
if (intr_lookup_source(irq) != NULL) | if (intrtab_lookup(irq) != NULL) | ||||
if (rman_manage_region(&irq_rman, irq, irq) != 0) | if (rman_manage_region(&irq_rman, irq, irq) != 0) | ||||
panic("nexus_init_resources irq_rman add"); | panic("nexus_init_resources irq_rman add"); | ||||
/* | /* | ||||
* ISA DMA on PCI systems is implemented in the ISA part of each | * ISA DMA on PCI systems is implemented in the ISA part of each | ||||
* PCI->ISA bridge and the channels can be duplicated if there are | * PCI->ISA bridge and the channels can be duplicated if there are | ||||
* multiple bridges. (eg: laptops with docking stations) | * multiple bridges. (eg: laptops with docking stations) | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 669 Lines • Show Last 20 Lines |