diff options
author | marcel <marcel@FreeBSD.org> | 2010-03-09 02:05:01 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2010-03-09 02:05:01 +0000 |
commit | 09b202ca291110f4e60f7bcc2c79fd649c89be06 (patch) | |
tree | 8759e91de2c3b4d8dbcab32ab4f358722cef5188 | |
parent | 3f119cd4f7d6fa59e00fa8fa9284a7fb4131a3cd (diff) | |
download | FreeBSD-src-09b202ca291110f4e60f7bcc2c79fd649c89be06.zip FreeBSD-src-09b202ca291110f4e60f7bcc2c79fd649c89be06.tar.gz |
Remove support for SYS_RES_DRQ.
-rw-r--r-- | sys/ia64/ia64/nexus.c | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/sys/ia64/ia64/nexus.c b/sys/ia64/ia64/nexus.c index 17c07d6..2f7c374 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); @@ -190,21 +190,6 @@ nexus_probe(device_t dev) 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 * to be on large systems..) @@ -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)); } - |