diff options
author | 2011-05-29 22:13:10 +0000 | |
---|---|---|
committer | 2011-05-29 22:13:10 +0000 | |
commit | adc97f872ec3e6424d44c0a29145df2bca109b21 (patch) | |
tree | 425081ae7305e4640dbb9a058c9b4fc7a80f8711 | |
parent | Fix more regressions introduced in 1.11.3: (diff) | |
download | wireguard-openbsd-adc97f872ec3e6424d44c0a29145df2bca109b21.tar.xz wireguard-openbsd-adc97f872ec3e6424d44c0a29145df2bca109b21.zip |
Add MSI support.
ok dlg@, oga@
-rw-r--r-- | sys/dev/pci/if_re_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_re_pci.c b/sys/dev/pci/if_re_pci.c index 817da7803d7..54aa0433365 100644 --- a/sys/dev/pci/if_re_pci.c +++ b/sys/dev/pci/if_re_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_re_pci.c,v 1.32 2011/04/03 15:36:02 jasper Exp $ */ +/* $OpenBSD: if_re_pci.c,v 1.33 2011/05/29 22:13:10 kettenis Exp $ */ /* * Copyright (c) 2005 Peter Valchev <pvalchev@openbsd.org> @@ -181,7 +181,7 @@ re_pci_attach(struct device *parent, struct device *self, void *aux) } /* Allocate interrupt */ - if (pci_intr_map(pa, &ih)) { + if (pci_intr_map_msi(pa, &ih) && pci_intr_map(pa, &ih)) { printf(": couldn't map interrupt\n"); return; } |