From ec4182cf1a7c97028900d3099425f2c3aaa4b150 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Wed, 5 Sep 2001 20:58:55 +0000 Subject: fix pci_intr_map so that it uses the new interface --- sys/dev/pci/if_lge.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/pci/if_lge.c b/sys/dev/pci/if_lge.c index 4fd161b2496..22b4401d678 100644 --- a/sys/dev/pci/if_lge.c +++ b/sys/dev/pci/if_lge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_lge.c,v 1.1 2001/09/04 20:36:38 nate Exp $ */ +/* $OpenBSD: if_lge.c,v 1.2 2001/09/05 20:58:54 nate Exp $ */ /* * Copyright (c) 2001 Wind River Systems * Copyright (c) 1997, 1998, 1999, 2000, 2001 @@ -553,8 +553,7 @@ void lge_attach(parent, self, aux) #endif DPRINTFN(5, ("pci_intr_map\n")); - if (pci_intr_map(pc, pa->pa_intrtag, pa->pa_intrpin, - pa->pa_intrline, &ih)) { + if (pci_intr_map(pa, &ih)) { printf(": couldn't map interrupt\n"); goto fail; } -- cgit v1.2.3