diff options
author | Kevin Lo <kevlo@cvs.openbsd.org> | 2011-06-17 07:16:43 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@cvs.openbsd.org> | 2011-06-17 07:16:43 +0000 |
commit | 71c8e398938b113f0a190da52d5e877252326109 (patch) | |
tree | 47e3d9017d62743b9859a8e4f67f0a4a79728641 /sys/dev | |
parent | a6a6e0bba831d8310672ec709c9efdfd9ee7eaef (diff) |
Enable MSI support; tested by krw@, Mark Peoples, and
Abel Abraham Camarillo Ojeda.
From Brad
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_alc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_alc.c b/sys/dev/pci/if_alc.c index 7ec19fd9962..75447886762 100644 --- a/sys/dev/pci/if_alc.c +++ b/sys/dev/pci/if_alc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_alc.c,v 1.14 2011/05/27 07:45:44 kevlo Exp $ */ +/* $OpenBSD: if_alc.c,v 1.15 2011/06/17 07:16:42 kevlo Exp $ */ /*- * Copyright (c) 2009, Pyun YongHyeon <yongari@FreeBSD.org> * All rights reserved. @@ -653,7 +653,7 @@ alc_attach(struct device *parent, struct device *self, void *aux) return; } - 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"); goto fail; } |