psychovar.h (90617) | psychovar.h (93067) |
---|---|
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 90617 2002-02-13 16:07:59Z tmm $ | 30 * $FreeBSD: head/sys/sparc64/pci/psychovar.h 93067 2002-03-24 02:11:06Z tmm $ |
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 psycho's. --- 30 unchanged lines hidden (view full) --- 69 70 /* 71 * note that the sabre really only has one ranges property, 72 * used for both simba a and simba b (but the ranges for 73 * real psychos are the same for PCI A and PCI B anyway). 74 */ 75 struct upa_ranges *sc_range; 76 int sc_nrange; | 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 psycho's. --- 30 unchanged lines hidden (view full) --- 69 70 /* 71 * note that the sabre really only has one ranges property, 72 * used for both simba a and simba b (but the ranges for 73 * real psychos are the same for PCI A and PCI B anyway). 74 */ 75 struct upa_ranges *sc_range; 76 int sc_nrange; |
77 struct ofw_pci_imap *sc_intrmap; 78 int sc_nintrmap; 79 struct ofw_pci_imap_msk sc_intrmapmsk; | |
80 81 /* our tags */ 82 bus_space_tag_t sc_cfgt; 83 bus_space_tag_t sc_memt; 84 bus_space_tag_t sc_iot; 85 bus_dma_tag_t sc_dmat; 86 87 bus_space_handle_t sc_bh[4]; 88 89 int sc_busno; 90 91 struct rman sc_mem_rman; 92 struct rman sc_io_rman; 93}; 94 95#endif /* _SPARC64_PCI_PSYCHOVAR_H_ */ | 77 78 /* our tags */ 79 bus_space_tag_t sc_cfgt; 80 bus_space_tag_t sc_memt; 81 bus_space_tag_t sc_iot; 82 bus_dma_tag_t sc_dmat; 83 84 bus_space_handle_t sc_bh[4]; 85 86 int sc_busno; 87 88 struct rman sc_mem_rman; 89 struct rman sc_io_rman; 90}; 91 92#endif /* _SPARC64_PCI_PSYCHOVAR_H_ */ |