diff options
-rw-r--r-- | sys/arch/alpha/pci/apecs_pci.c | 6 | ||||
-rw-r--r-- | sys/arch/alpha/pci/cia_pci.c | 6 | ||||
-rw-r--r-- | sys/arch/alpha/pci/lca_pci.c | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/sys/arch/alpha/pci/apecs_pci.c b/sys/arch/alpha/pci/apecs_pci.c index a0b5bd1d139..9e653ce4e9a 100644 --- a/sys/arch/alpha/pci/apecs_pci.c +++ b/sys/arch/alpha/pci/apecs_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apecs_pci.c,v 1.11 2010/12/04 17:06:31 miod Exp $ */ +/* $OpenBSD: apecs_pci.c,v 1.12 2015/10/30 07:51:49 miod Exp $ */ /* $NetBSD: apecs_pci.c,v 1.10 1996/11/13 21:13:25 cgd Exp $ */ /* @@ -129,7 +129,7 @@ apecs_conf_read(cpv, tag, offset) old_haxr2 = 0; /* XXX gcc -Wuninitialized */ /* secondary if bus # != 0 */ - pci_decompose_tag(&acp->ac_pc, tag, &secondary, 0, 0); + pci_decompose_tag(&acp->ac_pc, tag, &secondary, NULL, NULL); if (secondary) { s = splhigh(); old_haxr2 = REGVAL(EPIC_HAXR2); @@ -178,7 +178,7 @@ apecs_conf_write(cpv, tag, offset, data) old_haxr2 = 0; /* XXX gcc -Wuninitialized */ /* secondary if bus # != 0 */ - pci_decompose_tag(&acp->ac_pc, tag, &secondary, 0, 0); + pci_decompose_tag(&acp->ac_pc, tag, &secondary, NULL, NULL); if (secondary) { s = splhigh(); old_haxr2 = REGVAL(EPIC_HAXR2); diff --git a/sys/arch/alpha/pci/cia_pci.c b/sys/arch/alpha/pci/cia_pci.c index 597d9b9bae3..16d389aba50 100644 --- a/sys/arch/alpha/pci/cia_pci.c +++ b/sys/arch/alpha/pci/cia_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cia_pci.c,v 1.12 2010/12/04 17:06:31 miod Exp $ */ +/* $OpenBSD: cia_pci.c,v 1.13 2015/10/30 07:51:49 miod Exp $ */ /* $NetBSD: cia_pci.c,v 1.25 2000/06/29 08:58:46 mrg Exp $ */ /* @@ -144,7 +144,7 @@ cia_conf_read(cpv, tag, offset) alpha_pal_draina(); /* secondary if bus # != 0 */ - pci_decompose_tag(&ccp->cc_pc, tag, &secondary, 0, 0); + pci_decompose_tag(&ccp->cc_pc, tag, &secondary, NULL, NULL); if (secondary) { s = splhigh(); old_cfg = REGVAL(CIA_CSR_CFG); @@ -228,7 +228,7 @@ cia_conf_write(cpv, tag, offset, data) #endif /* secondary if bus # != 0 */ - pci_decompose_tag(&ccp->cc_pc, tag, &secondary, 0, 0); + pci_decompose_tag(&ccp->cc_pc, tag, &secondary, NULL, NULL); if (secondary) { s = splhigh(); old_cfg = REGVAL(CIA_CSR_CFG); diff --git a/sys/arch/alpha/pci/lca_pci.c b/sys/arch/alpha/pci/lca_pci.c index 728ae27393c..b9904230cf4 100644 --- a/sys/arch/alpha/pci/lca_pci.c +++ b/sys/arch/alpha/pci/lca_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lca_pci.c,v 1.11 2015/07/18 00:21:14 miod Exp $ */ +/* $OpenBSD: lca_pci.c,v 1.12 2015/10/30 07:51:49 miod Exp $ */ /* $NetBSD: lca_pci.c,v 1.13 1997/09/02 13:19:35 thorpej Exp $ */ /* @@ -134,7 +134,7 @@ lca_conf_read(cpv, tag, offset) alpha_mb(); /* secondary if bus # != 0 */ - pci_decompose_tag(&lcp->lc_pc, tag, &secondary, &device, 0); + pci_decompose_tag(&lcp->lc_pc, tag, &secondary, &device, NULL); if (secondary) { s = splhigh(); alpha_mb(); @@ -194,7 +194,7 @@ lca_conf_write(cpv, tag, offset, data) s = 0; /* XXX gcc -Wuninitialized */ /* secondary if bus # != 0 */ - pci_decompose_tag(&lcp->lc_pc, tag, &secondary, &device, 0); + pci_decompose_tag(&lcp->lc_pc, tag, &secondary, &device, NULL); if (secondary) { s = splhigh(); alpha_mb(); |