diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2011-05-21 21:36:41 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2011-05-21 21:36:41 +0000 |
commit | 37f056dae990e0fb13cbb7886555f06c440959dd (patch) | |
tree | 993cf395668293c560936fc64eded0923f28d4a4 /sys/arch/loongson | |
parent | 268eac02e72b98479d50556f721c8c445a2e4e0f (diff) |
Add pci_intr_map_msi() stub.
Diffstat (limited to 'sys/arch/loongson')
-rw-r--r-- | sys/arch/loongson/include/pci_machdep.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/loongson/include/pci_machdep.h b/sys/arch/loongson/include/pci_machdep.h index 679ad54dcb9..bf793286a94 100644 --- a/sys/arch/loongson/include/pci_machdep.h +++ b/sys/arch/loongson/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_machdep.h,v 1.4 2010/12/04 17:06:31 miod Exp $ */ +/* $OpenBSD: pci_machdep.h,v 1.5 2011/05/21 21:36:39 kettenis Exp $ */ /* * Copyright (c) 2003-2004 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -75,6 +75,7 @@ struct mips_pci_chipset { (*(c)->pc_conf_write)((c)->pc_conf_v, (t), (r), (v)) #define pci_intr_map(c, ihp) \ (*(c)->pa_pc->pc_intr_map)((c), (ihp)) +#define pci_intr_map_msi(c, ihp) (-1) #define pci_intr_string(c, ih) \ (*(c)->pc_intr_string)((c)->pc_intr_v, (ih)) #define pci_intr_establish(c, ih, l, h, a, nm) \ |