From 5b370e4286848866a756e19c01414e4643cf998d Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 29 May 2011 22:13:11 +0000 Subject: Add MSI support. ok dlg@, oga@ --- sys/dev/pci/if_re_pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci/if_re_pci.c') 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 @@ -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; } -- cgit v1.2.3