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 | |
parent | 268eac02e72b98479d50556f721c8c445a2e4e0f (diff) |
Add pci_intr_map_msi() stub.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/alpha/pci/pci_machdep.h | 3 | ||||
-rw-r--r-- | sys/arch/arm/include/pci_machdep.h | 3 | ||||
-rw-r--r-- | sys/arch/hppa/include/pci_machdep.h | 3 | ||||
-rw-r--r-- | sys/arch/landisk/include/pci_machdep.h | 3 | ||||
-rw-r--r-- | sys/arch/loongson/include/pci_machdep.h | 3 | ||||
-rw-r--r-- | sys/arch/octeon/include/pci_machdep.h | 3 | ||||
-rw-r--r-- | sys/arch/sgi/pci/pci_machdep.h | 3 |
7 files changed, 14 insertions, 7 deletions
diff --git a/sys/arch/alpha/pci/pci_machdep.h b/sys/arch/alpha/pci/pci_machdep.h index cbcd10a8fb7..9cc5cba318a 100644 --- a/sys/arch/alpha/pci/pci_machdep.h +++ b/sys/arch/alpha/pci/pci_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_machdep.h,v 1.24 2010/12/04 17:06:31 miod Exp $ */ +/* $OpenBSD: pci_machdep.h,v 1.25 2011/05/21 21:36:39 kettenis Exp $ */ /* $NetBSD: pci_machdep.h,v 1.6 1996/11/19 04:49:21 cgd Exp $ */ /* @@ -105,6 +105,7 @@ int alpha_sysctl_chipset(int *, u_int, char *, size_t *); (*(c)->pc_conf_write)((c)->pc_conf_v, (t), (r), (v)) #define pci_intr_map(pa, ihp) \ (*((pa)->pa_pc)->pc_intr_map)((pa), (ihp)) +#define pci_intr_map_msi(pa, ihp) (-1) #define pci_intr_string(c, ih) \ (*(c)->pc_intr_string)((c)->pc_intr_v, (ih)) #define pci_intr_line(c, ih) \ diff --git a/sys/arch/arm/include/pci_machdep.h b/sys/arch/arm/include/pci_machdep.h index 0acb4c5de92..79b7d57e814 100644 --- a/sys/arch/arm/include/pci_machdep.h +++ b/sys/arch/arm/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_machdep.h,v 1.9 2010/12/04 17:06:31 miod Exp $ */ +/* $OpenBSD: pci_machdep.h,v 1.10 2011/05/21 21:36:39 kettenis Exp $ */ /* $NetBSD: pci_machdep.h,v 1.2 2002/05/15 19:23:52 thorpej Exp $ */ /* @@ -92,6 +92,7 @@ struct arm32_pci_chipset { (*(c)->pc_conf_write)((c)->pc_conf_v, (t), (r), (v)) #define pci_intr_map(pa, ihp) \ (*(pa)->pa_pc->pc_intr_map)((pa), (ihp)) +#define pci_intr_map_msi(pa, 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, n) \ diff --git a/sys/arch/hppa/include/pci_machdep.h b/sys/arch/hppa/include/pci_machdep.h index 73362683c44..3f3c60fdfc1 100644 --- a/sys/arch/hppa/include/pci_machdep.h +++ b/sys/arch/hppa/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_machdep.h,v 1.7 2010/12/04 17:06:31 miod Exp $ */ +/* $OpenBSD: pci_machdep.h,v 1.8 2011/05/21 21:36:17 kettenis Exp $ */ /* * Copyright (c) 2003 Michael Shalayeff @@ -80,6 +80,7 @@ struct hppa_pci_chipset_tag { (*(c)->pc_conf_write)((c)->_cookie, (t), (r), (v)) #define pci_intr_map(p, ihp) \ (*(p)->pa_pc->pc_intr_map)((p), (ihp)) +#define pci_intr_map_msi(p, ihp) (-1) #define pci_intr_line(c, ih) (ih) #define pci_intr_string(c, ih) \ (*(c)->pc_intr_string)((c)->_cookie, (ih)) diff --git a/sys/arch/landisk/include/pci_machdep.h b/sys/arch/landisk/include/pci_machdep.h index 589fadae742..74847e3ab52 100644 --- a/sys/arch/landisk/include/pci_machdep.h +++ b/sys/arch/landisk/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_machdep.h,v 1.5 2010/12/04 17:06:31 miod Exp $ */ +/* $OpenBSD: pci_machdep.h,v 1.6 2011/05/21 21:36:39 kettenis Exp $ */ /* $NetBSD: pci_machdep.h,v 1.1 2006/09/01 21:26:18 uwe Exp $ */ /* @@ -75,6 +75,7 @@ void landisk_pci_conf_interrupt(void *v, int bus, int dev, int pin, landisk_pci_attach_hook(pa, self, pba) #define pci_intr_map(pa, ihp) \ landisk_pci_intr_map(pa, ihp) +#define pci_intr_map_msi(pa, ihp) (-1) #define pci_intr_string(v, ih) \ landisk_pci_intr_string(v, ih) #define pci_intr_establish(v, ih, level, ih_fun, ih_arg, ih_name) \ 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) \ diff --git a/sys/arch/octeon/include/pci_machdep.h b/sys/arch/octeon/include/pci_machdep.h index 4964c66a418..07d6bc5c881 100644 --- a/sys/arch/octeon/include/pci_machdep.h +++ b/sys/arch/octeon/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_machdep.h,v 1.2 2010/12/04 17:06:31 miod Exp $ */ +/* $OpenBSD: pci_machdep.h,v 1.3 2011/05/21 21:36:40 kettenis Exp $ */ /* * Copyright (c) 2003-2004 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -103,6 +103,7 @@ static inline void pci_conf_write_db(void * c, pcitag_t t, int r, pcireg_t v, #endif #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) \ diff --git a/sys/arch/sgi/pci/pci_machdep.h b/sys/arch/sgi/pci/pci_machdep.h index c2a6c8f1093..58f2ae3d747 100644 --- a/sys/arch/sgi/pci/pci_machdep.h +++ b/sys/arch/sgi/pci/pci_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_machdep.h,v 1.12 2010/12/04 17:06:31 miod Exp $ */ +/* $OpenBSD: pci_machdep.h,v 1.13 2011/05/21 21:36:40 kettenis Exp $ */ /* * Copyright (c) 2003-2004 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -88,6 +88,7 @@ struct mips_pci_chipset { (*(c)->pc_get_dl)((c)->pc_conf_v, (t), (l)) #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) \ |