diff options
| author | thorpej <thorpej@NetBSD.org> | 2002-05-15 19:23:51 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2002-05-15 19:23:51 +0000 |
| commit | dada8613e1a474341d94a751bc0a80affe09e7ae (patch) | |
| tree | 75c95507d5f8b2bf24a3ecf7d0579a42a8a83473 /sys | |
| parent | 0a08a9975c28dee75f37ddd0a8406df5bfe58e4f (diff) | |
Let machine-dependent code specify how to enumerate the bus.
Currently, everyone uses pci_enumerate_bus_generic().
Diffstat (limited to 'sys')
22 files changed, 87 insertions, 38 deletions
diff --git a/sys/arch/algor/include/pci_machdep.h b/sys/arch/algor/include/pci_machdep.h index 262dabb0bf1..9a673733ac5 100644 --- a/sys/arch/algor/include/pci_machdep.h +++ b/sys/arch/algor/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $NetBSD: pci_machdep.h,v 1.3 2001/10/29 23:34:23 thorpej Exp $ */ +/* $NetBSD: pci_machdep.h,v 1.4 2002/05/15 19:23:52 thorpej Exp $ */ /* * Copyright (c) 1996 Carnegie-Mellon University. @@ -105,6 +105,9 @@ struct algor_pci_chipset { #define pci_conf_interrupt(c, b, d, p, s, lp) \ (*(c)->pc_conf_interrupt)((c)->pc_intr_v, (b), (d), (p), (s), (lp)) +#define pci_enumerate_bus(sc, m, p) \ + pci_enumerate_bus_generic((sc), (m), (p)) + /* * algor-specific PCI functions. * NOT TO BE USED DIRECTLY BY MACHINE INDEPENDENT CODE. diff --git a/sys/arch/alpha/include/pci_machdep.h b/sys/arch/alpha/include/pci_machdep.h index 97e7a9e92b3..6495c929c88 100644 --- a/sys/arch/alpha/include/pci_machdep.h +++ b/sys/arch/alpha/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $NetBSD: pci_machdep.h,v 1.9 2002/05/15 17:09:58 thorpej Exp $ */ +/* $NetBSD: pci_machdep.h,v 1.10 2002/05/15 19:23:52 thorpej Exp $ */ /* * Copyright (c) 1996 Carnegie-Mellon University. @@ -99,6 +99,9 @@ struct alpha_pci_chipset { #define pci_intr_disestablish(c, iv) \ (*(c)->pc_intr_disestablish)((c)->pc_intr_v, (iv)) +#define pci_enumerate_bus(sc, m, p) \ + pci_enumerate_bus_generic((sc), (m), (p)) + /* * alpha-specific PCI functions. * NOT TO BE USED DIRECTLY BY MACHINE INDEPENDENT CODE. diff --git a/sys/arch/arc/include/pci_machdep.h b/sys/arch/arc/include/pci_machdep.h index 661af1ab060..73aee6b59b0 100644 --- a/sys/arch/arc/include/pci_machdep.h +++ b/sys/arch/arc/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $NetBSD: pci_machdep.h,v 1.3 2002/05/15 17:15:17 thorpej Exp $ */ +/* $NetBSD: pci_machdep.h,v 1.4 2002/05/15 19:23:52 thorpej Exp $ */ /* NetBSD: pci_machdep.h,v 1.3 1999/03/19 03:40:46 cgd Exp */ /* @@ -92,3 +92,6 @@ struct arc_pci_chipset { (*(c)->pc_intr_establish)((c), (ih), (l), (h), (a)) #define pci_intr_disestablish(c, iv) \ (*(c)->pc_intr_disestablish)((c), (iv)) + +#define pci_enumerate_bus(sc, m, p) \ + pci_enumerate_bus_generic((sc), (m), (p)) diff --git a/sys/arch/arm/include/pci_machdep.h b/sys/arch/arm/include/pci_machdep.h index 7973e21da0e..8662935a1ab 100644 --- a/sys/arch/arm/include/pci_machdep.h +++ b/sys/arch/arm/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $NetBSD: pci_machdep.h,v 1.1 2001/02/23 21:23:48 reinoud Exp $ */ +/* $NetBSD: pci_machdep.h,v 1.2 2002/05/15 19:23:52 thorpej Exp $ */ /* * Modified for arm32 by Mark Brinicombe @@ -97,3 +97,6 @@ struct arm32_pci_chipset { (*(c)->pc_intr_establish)((c)->pc_intr_v, (ih), (l), (h), (a)) #define pci_intr_disestablish(c, iv) \ (*(c)->pc_intr_disestablish)((c)->pc_intr_v, (iv)) + +#define pci_enumerate_bus(sc, m, p) \ + pci_enumerate_bus_generic((sc), (m), (p)) diff --git a/sys/arch/atari/include/pci_machdep.h b/sys/arch/atari/include/pci_machdep.h index cbbb0720b53..c47db5c8d1d 100644 --- a/sys/arch/atari/include/pci_machdep.h +++ b/sys/arch/atari/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $NetBSD: pci_machdep.h,v 1.9 2002/05/15 17:30:04 thorpej Exp $ */ +/* $NetBSD: pci_machdep.h,v 1.10 2002/05/15 19:23:53 thorpej Exp $ */ /* * Copyright (c) 1996 Leo Weppelman. All rights reserved. @@ -80,4 +80,7 @@ void *pci_intr_establish(pci_chipset_tag_t, pci_intr_handle_t, int, int (*)(void *), void *); void pci_intr_disestablish(pci_chipset_tag_t, void *); +#define pci_enumerate_bus(sc, m, p) \ + pci_enumerate_bus_generic((sc), (m), (p)) + #endif /* _ATARI_PCI_MACHDEP_H_ */ diff --git a/sys/arch/bebox/include/pci_machdep.h b/sys/arch/bebox/include/pci_machdep.h index ba4662a6ae5..e54d954a883 100644 --- a/sys/arch/bebox/include/pci_machdep.h +++ b/sys/arch/bebox/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $NetBSD: pci_machdep.h,v 1.9 2001/06/06 17:42:30 matt Exp $ */ +/* $NetBSD: pci_machdep.h,v 1.10 2002/05/15 19:23:53 thorpej Exp $ */ /* * Copyright (c) 1996 Christopher G. Demetriou. All rights reserved. @@ -75,3 +75,6 @@ const struct evcnt *pci_intr_evcnt(pci_chipset_tag_t, pci_intr_handle_t); void *pci_intr_establish(pci_chipset_tag_t, pci_intr_handle_t, int, int (*)(void *), void *); void pci_intr_disestablish(pci_chipset_tag_t, void *); + +#define pci_enumerate_bus(sc, m, p) \ + pci_enumerate_bus_generic((sc), (m), (p)) diff --git a/sys/arch/cobalt/include/pci_machdep.h b/sys/arch/cobalt/include/pci_machdep.h index e3138040c14..ffafb935148 100644 --- a/sys/arch/cobalt/include/pci_machdep.h +++ b/sys/arch/cobalt/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $NetBSD: pci_machdep.h,v 1.4 2001/06/08 04:48:57 simonb Exp $ */ +/* $NetBSD: pci_machdep.h,v 1.5 2002/05/15 19:23:53 thorpej Exp $ */ /* * Copyright (c) 1996 Christopher G. Demetriou. All rights reserved. @@ -72,3 +72,6 @@ const struct evcnt *pci_intr_evcnt(pci_chipset_tag_t, pci_intr_handle_t); void *pci_intr_establish(pci_chipset_tag_t, pci_intr_handle_t, int, int (*)(void *), void *); void pci_intr_disestablish(pci_chipset_tag_t, void *); + +#define pci_enumerate_bus(sc, m, p) \ + pci_enumerate_bus_generic((sc), (m), (p)) diff --git a/sys/arch/dreamcast/include/pci_machdep.h b/sys/arch/dreamcast/include/pci_machdep.h index 02db5cd947e..edaac6b89c0 100644 --- a/sys/arch/dreamcast/include/pci_machdep.h +++ b/sys/arch/dreamcast/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $NetBSD: pci_machdep.h,v 1.2 2002/05/15 17:09:05 thorpej Exp $ */ +/* $NetBSD: pci_machdep.h,v 1.3 2002/05/15 19:23:53 thorpej Exp $ */ /*- * Copyright (c) 2001 Marcus Comstedt @@ -94,3 +94,6 @@ struct dreamcast_pci_chipset { (*(c)->pc_intr_establish)((c)->pc_intr_v, (ih), (l), (h), (a)) #define pci_intr_disestablish(c, ih) \ (*(c)->pc_intr_disestablish)((v)->pc_intr_v, (ih)) + +#define pci_enumerate_bus(sc, m, p) \ + pci_enumerate_bus_generic((sc), (m), (p)) diff --git a/sys/arch/hpcmips/include/pci_machdep.h b/sys/arch/hpcmips/include/pci_machdep.h index 27ad03c1486..131906c031d 100644 --- a/sys/arch/hpcmips/include/pci_machdep.h +++ b/sys/arch/hpcmips/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $NetBSD: pci_machdep.h,v 1.2 2002/01/13 14:18:31 takemura Exp $ */ +/* $NetBSD: pci_machdep.h,v 1.3 2002/05/15 19:23:54 thorpej Exp $ */ /*- * Copyright (c) 2001 Enami Tsugutomo. @@ -101,3 +101,6 @@ struct hpcmips_pci_chipset { (*(c)->pc_intr_establish)((c), (ih), (l), (h), (a)) #define pci_intr_disestablish(c, iv) \ (*(c)->pc_intr_disestablish)((c), (iv)) + +#define pci_enumerate_bus(sc, m, p) \ + pci_enumerate_bus_generic((sc), (m), (p)) diff --git a/sys/arch/i386/include/pci_machdep.h b/sys/arch/i386/include/pci_machdep.h index 920800e83ec..a5d124fb9c1 100644 --- a/sys/arch/i386/include/pci_machdep.h +++ b/sys/arch/i386/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $NetBSD: pci_machdep.h,v 1.17 2001/06/08 04:48:57 simonb Exp $ */ +/* $NetBSD: pci_machdep.h,v 1.18 2002/05/15 19:23:54 thorpej Exp $ */ /* * Copyright (c) 1996 Christopher G. Demetriou. All rights reserved. @@ -100,6 +100,9 @@ void *pci_intr_establish(pci_chipset_tag_t, pci_intr_handle_t, int, int (*)(void *), void *); void pci_intr_disestablish(pci_chipset_tag_t, void *); +#define pci_enumerate_bus(sc, m, p) \ + pci_enumerate_bus_generic((sc), (m), (p)) + /* * ALL OF THE FOLLOWING ARE MACHINE-DEPENDENT, AND SHOULD NOT BE USED * BY PORTABLE CODE. diff --git a/sys/arch/macppc/include/pci_machdep.h b/sys/arch/macppc/include/pci_machdep.h index 9b8a149eef0..b8a1b82dc23 100644 --- a/sys/arch/macppc/include/pci_machdep.h +++ b/sys/arch/macppc/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $NetBSD: pci_machdep.h,v 1.15 2001/06/19 12:02:57 simonb Exp $ */ +/* $NetBSD: pci_machdep.h,v 1.16 2002/05/15 19:23:54 thorpej Exp $ */ /* * Copyright (c) 1996 Christopher G. Demetriou. All rights reserved. @@ -88,6 +88,9 @@ void *pci_intr_establish(pci_chipset_tag_t, pci_intr_handle_t, int, int (*)(void *), void *); void pci_intr_disestablish(pci_chipset_tag_t, void *); +#define pci_enumerate_bus(sc, m, p) \ + pci_enumerate_bus_generic((sc), (m), (p)) + /* * Internal functions. */ diff --git a/sys/arch/mips/include/pci_machdep.h b/sys/arch/mips/include/pci_machdep.h index ce7af0a8e2a..150cd9a1a73 100644 --- a/sys/arch/mips/include/pci_machdep.h +++ b/sys/arch/mips/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $NetBSD: pci_machdep.h,v 1.1 2002/03/18 03:08:09 simonb Exp $ */ +/* $NetBSD: pci_machdep.h,v 1.2 2002/05/15 19:23:54 thorpej Exp $ */ /* * Copyright (c) 1996 Carnegie-Mellon University. @@ -106,6 +106,9 @@ struct mips_pci_chipset { #define pci_conf_interrupt(c, b, d, p, s, lp) \ (*(c)->pc_conf_interrupt)((c)->pc_intr_v, (b), (d), (p), (s), (lp)) +#define pci_enumerate_bus(sc, m, p) \ + pci_enumerate_bus_generic((sc), (m), (p)) + /* * mips-specific PCI functions. * NOT TO BE USED DIRECTLY BY MACHINE INDEPENDENT CODE. diff --git a/sys/arch/mvmeppc/include/pci_machdep.h b/sys/arch/mvmeppc/include/pci_machdep.h index 3e08c73d51c..c7b87d7e9ae 100644 --- a/sys/arch/mvmeppc/include/pci_machdep.h +++ b/sys/arch/mvmeppc/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $NetBSD: pci_machdep.h,v 1.1 2002/02/27 21:02:18 scw Exp $ */ +/* $NetBSD: pci_machdep.h,v 1.2 2002/05/15 19:23:55 thorpej Exp $ */ /* * Copyright (c) 1996 Christopher G. Demetriou. All rights reserved. @@ -81,6 +81,9 @@ void pci_intr_disestablish(pci_chipset_tag_t, void *); void pci_conf_interrupt(pci_chipset_tag_t pc, int bus, int dev, int func, int swiz, int *iline); +#define pci_enumerate_bus(sc, m, p) \ + pci_enumerate_bus_generic((sc), (m), (p)) + #endif /* _KERNEL */ #endif /* _MACHINE_PCI_MACHDEP_H_ */ diff --git a/sys/arch/ofppc/include/pci_machdep.h b/sys/arch/ofppc/include/pci_machdep.h index c5f2965d396..5e99cf212d8 100644 --- a/sys/arch/ofppc/include/pci_machdep.h +++ b/sys/arch/ofppc/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $NetBSD: pci_machdep.h,v 1.1 2001/10/29 22:28:37 thorpej Exp $ */ +/* $NetBSD: pci_machdep.h,v 1.2 2002/05/15 19:23:55 thorpej Exp $ */ /* * Copyright (c) 1996 Carnegie-Mellon University. @@ -105,6 +105,9 @@ struct ppc_pci_chipset { #define pci_conf_interrupt(c, b, d, f, s, lp) \ (*(c)->pc_conf_interrupt)((c)->pc_intr_v, (b), (d), (f), (s), (lp)) +#define pci_enumerate_bus(sc, m, p) \ + pci_enumerate_bus_generic((sc), (m), (p)) + /* * PowerPC-specific PCI functions. * NOT TO BE USED DIRECTLY BY MACHINE INDEPENDENT CODE. diff --git a/sys/arch/prep/include/pci_machdep.h b/sys/arch/prep/include/pci_machdep.h index e0207bce135..2d8f0f14308 100644 --- a/sys/arch/prep/include/pci_machdep.h +++ b/sys/arch/prep/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $NetBSD: pci_machdep.h,v 1.8 2002/02/25 00:34:13 kleink Exp $ */ +/* $NetBSD: pci_machdep.h,v 1.9 2002/05/15 19:23:55 thorpej Exp $ */ /* * Copyright (c) 1996 Carnegie-Mellon University. @@ -102,6 +102,9 @@ struct prep_pci_chipset { #define pci_conf_hook(c, b, d, f, i) \ (*(c)->pc_conf_hook)((c)->pc_conf_v, (b), (d), (f), (i)) +#define pci_enumerate_bus(sc, m, p) \ + pci_enumerate_bus_generic((sc), (m), (p)) + #ifdef _KERNEL /* * prep-specific PCI functions. diff --git a/sys/arch/sandpoint/include/pci_machdep.h b/sys/arch/sandpoint/include/pci_machdep.h index cf9cc4ccdf2..763a4ecc8fa 100644 --- a/sys/arch/sandpoint/include/pci_machdep.h +++ b/sys/arch/sandpoint/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $NetBSD: pci_machdep.h,v 1.2 2001/06/10 03:16:30 briggs Exp $ */ +/* $NetBSD: pci_machdep.h,v 1.3 2002/05/15 19:23:55 thorpej Exp $ */ /* * Copyright (c) 1996 Christopher G. Demetriou. All rights reserved. @@ -72,3 +72,6 @@ const struct evcnt *pci_intr_evcnt(pci_chipset_tag_t, pci_intr_handle_t); void *pci_intr_establish(pci_chipset_tag_t, pci_intr_handle_t, int, int (*)(void *), void *); void pci_intr_disestablish(pci_chipset_tag_t, void *); + +#define pci_enumerate_bus(sc, m, p) \ + pci_enumerate_bus_generic((sc), (m), (p)) diff --git a/sys/arch/sgimips/include/pci_machdep.h b/sys/arch/sgimips/include/pci_machdep.h index 945b1b603c5..15ad9d611d9 100644 --- a/sys/arch/sgimips/include/pci_machdep.h +++ b/sys/arch/sgimips/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $NetBSD: pci_machdep.h,v 1.2 2000/12/28 22:59:10 sommerfeld Exp $ */ +/* $NetBSD: pci_machdep.h,v 1.3 2002/05/15 19:23:56 thorpej Exp $ */ /* * Copyright (c) 1996 Christopher G. Demetriou. All rights reserved. @@ -78,3 +78,6 @@ const struct evcnt *pci_intr_evcnt(pci_chipset_tag_t, pci_intr_handle_t); void *pci_intr_establish(pci_chipset_tag_t, pci_intr_handle_t, int, int (*)(void *), void *); void pci_intr_disestablish(pci_chipset_tag_t, void *); + +#define pci_enumerate_bus(sc, m, p) \ + pci_enumerate_bus_generic((sc), (m), (p)) diff --git a/sys/arch/sparc/include/pci_machdep.h b/sys/arch/sparc/include/pci_machdep.h index 31943349dd7..07d1f86fc3e 100644 --- a/sys/arch/sparc/include/pci_machdep.h +++ b/sys/arch/sparc/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $NetBSD: pci_machdep.h,v 1.2 2002/05/15 18:37:54 thorpej Exp $ */ +/* $NetBSD: pci_machdep.h,v 1.3 2002/05/15 19:23:56 thorpej Exp $ */ /* * Copyright (c) 1999 Matthew R. Green @@ -34,15 +34,6 @@ /* * Machine-specific definitions for PCI autoconfiguration. */ -#if 0 -/* - * On sparc64 we want device & function to be probed in PROM order. - * Do we need this on ms-IIep systems (perhaps for cp1200 that can - * have a PCI-to-PCI bridge)??? - */ -#define __PCI_BUS_DEVORDER -#endif /* 0 */ - /* * Types provided to machine-independent PCI code @@ -88,9 +79,6 @@ struct sparc_pci_chipset { */ void pci_attach_hook(struct device *, struct device *, struct pcibus_attach_args *); -#ifdef __PCI_BUS_DEVORDER -int pci_bus_devorder(pci_chipset_tag_t, int, char *); -#endif int pci_bus_maxdevs(pci_chipset_tag_t, int); pcitag_t pci_make_tag(pci_chipset_tag_t, int, int, int); void pci_decompose_tag(pci_chipset_tag_t, pcitag_t, @@ -104,4 +92,7 @@ void *pci_intr_establish(pci_chipset_tag_t, pci_intr_handle_t, int, int (*)(void *), void *); void pci_intr_disestablish(pci_chipset_tag_t, void *); +#define pci_enumerate_bus(sc, m, p) \ + pci_enumerate_bus_generic((sc), (m), (p)) + #endif /* _SPARC_PCI_MACHDEP_H_ */ diff --git a/sys/arch/sparc64/include/pci_machdep.h b/sys/arch/sparc64/include/pci_machdep.h index db9fb391534..1af50934466 100644 --- a/sys/arch/sparc64/include/pci_machdep.h +++ b/sys/arch/sparc64/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $NetBSD: pci_machdep.h,v 1.11 2002/05/15 18:37:55 thorpej Exp $ */ +/* $NetBSD: pci_machdep.h,v 1.12 2002/05/15 19:23:56 thorpej Exp $ */ /* * Copyright (c) 1999 Matthew R. Green @@ -92,4 +92,7 @@ void *pci_intr_establish(pci_chipset_tag_t, pci_intr_handle_t, int, int (*)(void *), void *); void pci_intr_disestablish(pci_chipset_tag_t, void *); +#define pci_enumerate_bus(sc, m, p) \ + pci_enumerate_bus_generic((sc), (m), (p)) + #endif /* _MACHINE_PCI_MACHDEP_H_ */ diff --git a/sys/arch/walnut/include/pci_machdep.h b/sys/arch/walnut/include/pci_machdep.h index 35d338ce277..ec4e95587be 100644 --- a/sys/arch/walnut/include/pci_machdep.h +++ b/sys/arch/walnut/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $NetBSD: pci_machdep.h,v 1.3 2002/02/25 00:34:14 kleink Exp $ */ +/* $NetBSD: pci_machdep.h,v 1.4 2002/05/15 19:23:56 thorpej Exp $ */ /* * Copyright (c) 1996 Christopher G. Demetriou. All rights reserved. @@ -79,6 +79,10 @@ void pci_intr_disestablish(pci_chipset_tag_t, void *); int pci_conf_hook(pci_chipset_tag_t, int, int, int, pcireg_t); void pci_machdep_init(void); + +#define pci_enumerate_bus(sc, m, p) \ + pci_enumerate_bus_generic((sc), (m), (p)) + /* * Internal functions. */ diff --git a/sys/arch/x86_64/include/pci_machdep.h b/sys/arch/x86_64/include/pci_machdep.h index 5026a3e1fa8..d7e0a0bf93d 100644 --- a/sys/arch/x86_64/include/pci_machdep.h +++ b/sys/arch/x86_64/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $NetBSD: pci_machdep.h,v 1.1 2001/06/19 00:20:12 fvdl Exp $ */ +/* $NetBSD: pci_machdep.h,v 1.2 2002/05/15 19:23:57 thorpej Exp $ */ /* * Copyright (c) 1996 Christopher G. Demetriou. All rights reserved. @@ -92,6 +92,9 @@ void *pci_intr_establish(pci_chipset_tag_t, pci_intr_handle_t, int, int (*)(void *), void *); void pci_intr_disestablish(pci_chipset_tag_t, void *); +#define pci_enumerate_bus(sc, m, p) \ + pci_enumerate_bus_generic((sc), (m), (p)) + /* * ALL OF THE FOLLOWING ARE MACHINE-DEPENDENT, AND SHOULD NOT BE USED * BY PORTABLE CODE. diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index a3eb7e24174..f540b8f81f0 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -1,4 +1,4 @@ -/* $NetBSD: pci.c,v 1.60 2002/05/15 18:39:47 thorpej Exp $ */ +/* $NetBSD: pci.c,v 1.61 2002/05/15 19:23:51 thorpej Exp $ */ /* * Copyright (c) 1995, 1996, 1997, 1998 @@ -36,7 +36,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pci.c,v 1.60 2002/05/15 18:39:47 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pci.c,v 1.61 2002/05/15 19:23:51 thorpej Exp $"); #include "opt_pci.h" @@ -117,9 +117,6 @@ pcimatch(parent, cf, aux) return (1); } -/* XXX Temporary */ -#define pci_enumerate_bus pci_enumerate_bus_generic - void pciattach(parent, self, aux) struct device *parent, *self; |
