Deleted Added
full compact
psychovar.h (174117) psychovar.h (178279)
1/*-
2 * Copyright (c) 1999, 2000 Matthew R. Green
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

22 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
23 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
28 * from: NetBSD: psychovar.h,v 1.6 2001/07/20 00:07:13 eeh Exp
29 *
1/*-
2 * Copyright (c) 1999, 2000 Matthew R. Green
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

22 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
23 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
28 * from: NetBSD: psychovar.h,v 1.6 2001/07/20 00:07:13 eeh Exp
29 *
30 * $FreeBSD: head/sys/sparc64/pci/psychovar.h 174117 2007-11-30 23:02:42Z marius $
30 * $FreeBSD: head/sys/sparc64/pci/psychovar.h 178279 2008-04-17 12:38:00Z marius $
31 */
32
33#ifndef _SPARC64_PCI_PSYCHOVAR_H_
34#define _SPARC64_PCI_PSYCHOVAR_H_
35
36/*
37 * Per-PCI bus on mainbus softc structure; one for sabre, or two
38 * per pair of psychos.

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

66 /* Tags for PCI access */
67 bus_space_tag_t sc_pci_cfgt;
68 bus_space_tag_t sc_pci_memt;
69 bus_space_tag_t sc_pci_iot;
70 bus_dma_tag_t sc_pci_dmat;
71
72 bus_space_handle_t sc_pci_bh[PSYCHO_NRANGE];
73
31 */
32
33#ifndef _SPARC64_PCI_PSYCHOVAR_H_
34#define _SPARC64_PCI_PSYCHOVAR_H_
35
36/*
37 * Per-PCI bus on mainbus softc structure; one for sabre, or two
38 * per pair of psychos.

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

66 /* Tags for PCI access */
67 bus_space_tag_t sc_pci_cfgt;
68 bus_space_tag_t sc_pci_memt;
69 bus_space_tag_t sc_pci_iot;
70 bus_dma_tag_t sc_pci_dmat;
71
72 bus_space_handle_t sc_pci_bh[PSYCHO_NRANGE];
73
74 u_int sc_pci_secbus;
75 u_int sc_pci_subbus;
76
77 struct rman sc_pci_mem_rman;
78 struct rman sc_pci_io_rman;
79
74 struct rman sc_pci_mem_rman;
75 struct rman sc_pci_io_rman;
76
77 uint8_t sc_pci_secbus;
78
80 uint8_t sc_pci_hpbcfg[16];
81
82 SLIST_ENTRY(psycho_softc) sc_link;
83};
84
85#endif /* !_SPARC64_PCI_PSYCHOVAR_H_ */
79 uint8_t sc_pci_hpbcfg[16];
80
81 SLIST_ENTRY(psycho_softc) sc_link;
82};
83
84#endif /* !_SPARC64_PCI_PSYCHOVAR_H_ */