summaryrefslogtreecommitdiffstats
path: root/sys/alpha/pci/pcibus.c
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1998-11-18 23:53:12 +0000
committerdfr <dfr@FreeBSD.org>1998-11-18 23:53:12 +0000
commita9a7505ea55da0dae2adcdd16b923b525db56915 (patch)
tree7fe81537bbce02016b388ab42b241160e2f609b5 /sys/alpha/pci/pcibus.c
parent86637d9d69b15e53584133a4b1ffd05cddf6fdf6 (diff)
downloadFreeBSD-src-a9a7505ea55da0dae2adcdd16b923b525db56915.zip
FreeBSD-src-a9a7505ea55da0dae2adcdd16b923b525db56915.tar.gz
Fix things so that pci interrupts can be registered correctly on apecs
and lca machines (which route PCI interrupts through the ISA PIC). Reviewed by: dima
Diffstat (limited to 'sys/alpha/pci/pcibus.c')
-rw-r--r--sys/alpha/pci/pcibus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/alpha/pci/pcibus.c b/sys/alpha/pci/pcibus.c
index 8dc5bd3..1b5d9bf 100644
--- a/sys/alpha/pci/pcibus.c
+++ b/sys/alpha/pci/pcibus.c
@@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: pcibus.c,v 1.5 1998/10/06 14:18:40 dfr Exp $
+ * $Id: pcibus.c,v 1.6 1998/11/15 18:25:16 dfr Exp $
*
*/
@@ -145,7 +145,7 @@ intr_create(void *dev_instance, int irq, inthand2_t handler, void *arg,
int zero = 0;
void *cookie;
- res = BUS_ALLOC_RESOURCE(pcib, pcib, SYS_RES_IRQ, &zero,
+ res = BUS_ALLOC_RESOURCE(pcib, NULL, SYS_RES_IRQ, &zero,
irq, irq, 1, RF_SHAREABLE | RF_ACTIVE);
if (BUS_SETUP_INTR(pcib, pcib, res, (driver_intr_t *)handler, arg, &cookie))
return 0;
OpenPOWER on IntegriCloud