summaryrefslogtreecommitdiff
path: root/sys/dev/pci/ami_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/ami_pci.c')
-rw-r--r--sys/dev/pci/ami_pci.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/pci/ami_pci.c b/sys/dev/pci/ami_pci.c
index 0810034d537..9efcda526de 100644
--- a/sys/dev/pci/ami_pci.c
+++ b/sys/dev/pci/ami_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ami_pci.c,v 1.7 2001/06/23 21:43:07 mickey Exp $ */
+/* $OpenBSD: ami_pci.c,v 1.8 2001/08/25 10:13:29 art Exp $ */
/*
* Copyright (c) 2001 Michael Shalayeff
@@ -178,8 +178,7 @@ ami_pci_attach(parent, self, aux)
pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG,
csr | PCI_COMMAND_MASTER_ENABLE);
- if (pci_intr_map(pa->pa_pc, pa->pa_intrtag, pa->pa_intrpin,
- pa->pa_intrline, &ih)) {
+ if (pci_intr_map(pa, &ih)) {
printf(": can't map interrupt\n");
bus_space_unmap(sc->iot, sc->ioh, size);
return;