diff options
author | Nathan Binkert <nate@cvs.openbsd.org> | 2001-09-05 20:58:55 +0000 |
---|---|---|
committer | Nathan Binkert <nate@cvs.openbsd.org> | 2001-09-05 20:58:55 +0000 |
commit | ec4182cf1a7c97028900d3099425f2c3aaa4b150 (patch) | |
tree | 92d5bab3aea21a5b31162c2382aa3bcd2548957e /sys/dev | |
parent | f3651c18efb923820da59e9e92727ff76503f9f9 (diff) |
fix pci_intr_map so that it uses the new interface
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_lge.c | 5 |
1 files changed, 2 insertions, 3 deletions
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; } |