diff options
author | marcel <marcel@FreeBSD.org> | 2006-04-22 19:04:21 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2006-04-22 19:04:21 +0000 |
commit | 08414eb70ca4391b529a9ca57978a1364a8a79b9 (patch) | |
tree | bb479f0f579aabf19784859281468b4ca0e8c5fb /sys/alpha | |
parent | 31b4d2103e4e90e8322781e86047473c392a0641 (diff) | |
download | FreeBSD-src-08414eb70ca4391b529a9ca57978a1364a8a79b9.zip FreeBSD-src-08414eb70ca4391b529a9ca57978a1364a8a79b9.tar.gz |
Revert part of previous commit. In alpha_platform_alloc_ide_intr(),
there's no RID for us to work with.
Diffstat (limited to 'sys/alpha')
-rw-r--r-- | sys/alpha/pci/pcibus.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/alpha/pci/pcibus.c b/sys/alpha/pci/pcibus.c index c4013fc..61c6bd7 100644 --- a/sys/alpha/pci/pcibus.c +++ b/sys/alpha/pci/pcibus.c @@ -96,12 +96,7 @@ struct resource * alpha_platform_alloc_ide_intr(int chan) { int irqs[2] = { 14, 15 }; - struct resource *rv; - - rv = isa_alloc_intr(0, 0, irqs[chan]); - if (rv != NULL) - rman_set_rid(rv, *rid); - return (rv); + return (isa_alloc_intr(0, 0, irqs[chan])); } int |