Deleted Added
full compact
ofw_pci.h (106555) ofw_pci.h (115417)
1/*
2 * Copyright (c) 1999, 2000 Matthew R. Green
3 * All rights reserved.
4 * Copyright 2001 by Thomas Moestl <tmm@FreeBSD.org>. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 14 unchanged lines hidden (view full) ---

23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
24 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * from: NetBSD: psychoreg.h,v 1.8 2001/09/10 16:17:06 eeh Exp
30 *
1/*
2 * Copyright (c) 1999, 2000 Matthew R. Green
3 * All rights reserved.
4 * Copyright 2001 by Thomas Moestl <tmm@FreeBSD.org>. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 14 unchanged lines hidden (view full) ---

23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
24 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * from: NetBSD: psychoreg.h,v 1.8 2001/09/10 16:17:06 eeh Exp
30 *
31 * $FreeBSD: head/sys/sparc64/pci/ofw_pci.h 106555 2002-11-07 16:07:46Z tmm $
31 * $FreeBSD: head/sys/sparc64/pci/ofw_pci.h 115417 2003-05-30 20:48:05Z tmm $
32 */
33
34#ifndef _SPARC64_PCI_OFW_PCI_H_
35#define _SPARC64_PCI_OFW_PCI_H_
36
37#include <machine/ofw_bus.h>
38
39/* PCI range child spaces. XXX: are these MI? */

--- 26 unchanged lines hidden (view full) ---

66 u_int obd_slot;
67 u_int obd_func;
68 u_int obd_secbus;
69 u_int obd_subbus;
70 ofw_pci_binit_t *obd_init;
71 struct ofw_pci_bdesc *obd_super;
72};
73
32 */
33
34#ifndef _SPARC64_PCI_OFW_PCI_H_
35#define _SPARC64_PCI_OFW_PCI_H_
36
37#include <machine/ofw_bus.h>
38
39/* PCI range child spaces. XXX: are these MI? */

--- 26 unchanged lines hidden (view full) ---

66 u_int obd_slot;
67 u_int obd_func;
68 u_int obd_secbus;
69 u_int obd_subbus;
70 ofw_pci_binit_t *obd_init;
71 struct ofw_pci_bdesc *obd_super;
72};
73
74u_int32_t ofw_pci_route_intr(phandle_t, u_int32_t);
75obr_callback_t ofw_pci_orb_callback;
76u_int8_t ofw_pci_alloc_busno(phandle_t);
77ofw_pci_binit_t ofw_pci_binit;
78void ofw_pci_init(device_t, phandle_t, u_int32_t, struct ofw_pci_bdesc *);
79phandle_t ofw_pci_find_node(int, int, int);
80phandle_t ofw_pci_node(device_t);
81
82#endif /* ! _SPARC64_PCI_OFW_PCI_H_ */
74obr_callback_t ofw_pci_orb_callback;
75u_int8_t ofw_pci_alloc_busno(phandle_t);
76ofw_pci_binit_t ofw_pci_binit;
77void ofw_pci_init(device_t, phandle_t, u_int32_t, struct ofw_pci_bdesc *);
78phandle_t ofw_pci_find_node(int, int, int);
79phandle_t ofw_pci_node(device_t);
80
81#endif /* ! _SPARC64_PCI_OFW_PCI_H_ */