diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-06-09 04:55:45 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-06-09 04:55:45 +0000 |
commit | c8dbea30fae8127e6e60637f53c5c0aaf21710a8 (patch) | |
tree | a8fba98e18ff733fe2cf27f593994e67ab54b164 /sys/dev/pci | |
parent | 224850a2e7ade014fe02d419dc19bc6f9ba98175 (diff) |
MSI interrupts work here, too.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/mpi_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/mpi_pci.c b/sys/dev/pci/mpi_pci.c index 844f7ee63c9..a92a15eac8e 100644 --- a/sys/dev/pci/mpi_pci.c +++ b/sys/dev/pci/mpi_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpi_pci.c,v 1.23 2008/11/23 12:45:11 dlg Exp $ */ +/* $OpenBSD: mpi_pci.c,v 1.24 2011/06/09 04:55:44 deraadt Exp $ */ /* * Copyright (c) 2005 David Gwynne <dlg@openbsd.org> @@ -137,7 +137,7 @@ mpi_pci_attach(struct device *parent, struct device *self, void *aux) PWRITE(psc, PCI_ROM_REG, PREAD(psc, PCI_ROM_REG) & ~PCI_ROM_ENABLE); /* hook up the interrupt */ - if (pci_intr_map(pa, &ih)) { + if (pci_intr_map_msi(pa, &ih) != 0 && pci_intr_map(pa, &ih) != 0) { printf(": unable to map interrupt\n"); goto unmap; } |