diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1998-06-28 02:36:24 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1998-06-28 02:36:24 +0000 |
commit | 50b37b7254555fee5632266c6596ddc8ab1a0016 (patch) | |
tree | 9dbf39f46d54fc55b03c61876254d302a0306763 /sys/arch/alpha | |
parent | a635aafa43e713440306af221604efe0f8966311 (diff) |
Some more defines from NetBSD.
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r-- | sys/arch/alpha/pci/pci_machdep.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/alpha/pci/pci_machdep.h b/sys/arch/alpha/pci/pci_machdep.h index 2fbd929e9d7..0a02003053b 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.7 1997/01/24 19:57:53 niklas Exp $ */ +/* $OpenBSD: pci_machdep.h,v 1.8 1998/06/28 02:36:23 angelos Exp $ */ /* $NetBSD: pci_machdep.h,v 1.6 1996/11/19 04:49:21 cgd Exp $ */ /* @@ -93,6 +93,12 @@ struct alpha_pci_chipset { */ void pci_display_console __P((bus_space_tag_t, bus_space_tag_t, pci_chipset_tag_t, int, int, int)); +#define alpha_pci_decompose_tag(c, t, bp, dp, fp) \ + (*(c)->pc_decompose_tag)((c)->pc_conf_v, (t), (bp), (dp), (fp)) +#define alpha_pciide_compat_intr_establish(c, d, p, ch, f, a) \ + ((c)->pc_pciide_compat_intr_establish == NULL ? NULL : \ + (*(c)->pc_pciide_compat_intr_establish)((c)->pc_conf_v, (d), (p), \ + (ch), (f), (a))) #ifdef _KERNEL void pci_display_console |