Module Name:    src
Committed By:   matt
Date:           Thu Oct 13 19:51:17 UTC 2011

Modified Files:
        src/sys/arch/prep/pci: pci_machdep.c

Log Message:
Init MSI hooks.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/prep/pci/pci_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/prep/pci/pci_machdep.c
diff -u src/sys/arch/prep/pci/pci_machdep.c:1.37 src/sys/arch/prep/pci/pci_machdep.c:1.38
--- src/sys/arch/prep/pci/pci_machdep.c:1.37	Fri Jul  1 16:56:52 2011
+++ src/sys/arch/prep/pci/pci_machdep.c	Thu Oct 13 19:51:17 2011
@@ -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 @@ prep_pci_get_chipset_tag_indirect(pci_ch
 	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;

Reply via email to