diff options
author | Michael Knudsen <mk@cvs.openbsd.org> | 2011-06-02 18:36:54 +0000 |
---|---|---|
committer | Michael Knudsen <mk@cvs.openbsd.org> | 2011-06-02 18:36:54 +0000 |
commit | 56c2dbe09d3c2c69f42fa06d105e6d63539df050 (patch) | |
tree | 7121dbc0490f2265ca31ce1a3b1ff9dfe57cb76b /sys/dev/pci | |
parent | 7126d7b23088743d25ad17d65e0e97eb4e5cdffe (diff) |
MSI for wpi(4).
``Reasonably confident that will work on all hardware, go ahead and
commit.'' kettenis (worst jinx ever)
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_wpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_wpi.c b/sys/dev/pci/if_wpi.c index 1b3017313a7..f4f93b357b2 100644 --- a/sys/dev/pci/if_wpi.c +++ b/sys/dev/pci/if_wpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wpi.c,v 1.109 2010/09/07 16:21:45 deraadt Exp $ */ +/* $OpenBSD: if_wpi.c,v 1.110 2011/06/02 18:36:53 mk Exp $ */ /*- * Copyright (c) 2006-2008 @@ -215,7 +215,7 @@ wpi_attach(struct device *parent, struct device *self, void *aux) } /* Install interrupt handler. */ - if (pci_intr_map(pa, &ih) != 0) { + if (pci_intr_map_msi(pa, &ih) != 0 && pci_intr_map(pa, &ih) != 0) { printf(": can't map interrupt\n"); return; } |