From 09b202ca291110f4e60f7bcc2c79fd649c89be06 Mon Sep 17 00:00:00 2001 From: marcel Date: Tue, 9 Mar 2010 02:05:01 +0000 Subject: [PATCH] Remove support for SYS_RES_DRQ. --- sys/ia64/ia64/nexus.c | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/sys/ia64/ia64/nexus.c b/sys/ia64/ia64/nexus.c index 17c07d65028..2f7c3744a2b 100644 --- a/sys/ia64/ia64/nexus.c +++ b/sys/ia64/ia64/nexus.c @@ -78,7 +78,7 @@ struct nexus_device { #define DEVTONX(dev) ((struct nexus_device *)device_get_ivars(dev)) -static struct rman irq_rman, drq_rman, port_rman, mem_rman; +static struct rman irq_rman, port_rman, mem_rman; static int nexus_probe(device_t); static int nexus_attach(device_t); @@ -189,21 +189,6 @@ nexus_probe(device_t dev) irq_rman.rm_start, irq_rman.rm_end)) panic("nexus_probe irq_rman"); - /* - * 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 - * multiple bridges. (eg: laptops with docking stations) - */ - drq_rman.rm_start = 0; - drq_rman.rm_end = 7; - drq_rman.rm_type = RMAN_ARRAY; - drq_rman.rm_descr = "DMA request lines"; - /* XXX drq 0 not available on some machines */ - if (rman_init(&drq_rman) - || rman_manage_region(&drq_rman, - drq_rman.rm_start, drq_rman.rm_end)) - panic("nexus_probe drq_rman"); - /* * However, IO ports and Memory truely are global at this level, * as are APIC interrupts (however many IO APICS there turn out @@ -355,10 +340,6 @@ nexus_alloc_resource(device_t bus, device_t child, int type, int *rid, rm = &irq_rman; break; - case SYS_RES_DRQ: - rm = &drq_rman; - break; - case SYS_RES_IOPORT: rm = &port_rman; break; @@ -591,4 +572,3 @@ nexus_settime(device_t dev, struct timespec *ts) tm.tm_mday = ct.day; return (efi_set_time(&tm)); } - -- 2.45.0