Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/prep/pci Init MSI hooks.
details: https://anonhg.NetBSD.org/src/rev/168e2c17317e
branches: trunk
changeset: 770348:168e2c17317e
user: matt <matt%NetBSD.org@localhost>
date: Thu Oct 13 19:51:17 2011 +0000
description:
Init MSI hooks.
diffstat:
sys/arch/prep/pci/pci_machdep.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 701ad25fa86a -r 168e2c17317e sys/arch/prep/pci/pci_machdep.c
--- a/sys/arch/prep/pci/pci_machdep.c Thu Oct 13 19:50:39 2011 +0000
+++ b/sys/arch/prep/pci/pci_machdep.c Thu Oct 13 19:51:17 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pci_machdep.c,v 1.37 2011/07/01 16:56:52 dyoung Exp $ */
+/* $NetBSD: pci_machdep.c,v 1.38 2011/10/13 19:51:17 matt Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All rights reserved.
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.37 2011/07/01 16:56:52 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.38 2011/10/13 19:51:17 matt Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -92,6 +92,9 @@
pc->pc_intr_disestablish = genppc_pci_intr_disestablish;
pc->pc_intr_setattr = genppc_pci_intr_setattr;
+ pc->pc_msi_v = (void *)pc;
+ genppc_pci_chipset_msi_init(pc);
+
pc->pc_conf_interrupt = genppc_pci_conf_interrupt;
pc->pc_decompose_tag = genppc_pci_indirect_decompose_tag;
pc->pc_conf_hook = prep_pci_conf_hook;
Home |
Main Index |
Thread Index |
Old Index