psychovar.h (113238) | psychovar.h (115417) |
---|---|
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 113238 2003-04-08 06:35:09Z jake $ | 30 * $FreeBSD: head/sys/sparc64/pci/psychovar.h 115417 2003-05-30 20:48:05Z 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. --- 17 unchanged lines hidden (view full) --- 56 bus_addr_t sc_pcictl; 57 58 int sc_clockfreq; 59 phandle_t sc_node; /* prom node */ 60 int sc_mode; 61#define PSYCHO_MODE_SABRE 1 62#define PSYCHO_MODE_PSYCHO 2 63 | 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. --- 17 unchanged lines hidden (view full) --- 56 bus_addr_t sc_pcictl; 57 58 int sc_clockfreq; 59 phandle_t sc_node; /* prom node */ 60 int sc_mode; 61#define PSYCHO_MODE_SABRE 1 62#define PSYCHO_MODE_PSYCHO 2 63 |
64 /* Bus A or B of a psycho pair? */ 65 int sc_half; 66 |
|
64 struct iommu_state *sc_is; 65 u_int32_t sc_dvmabase; 66 67 struct resource *sc_mem_res; 68 struct resource *sc_irq_res[6]; 69 void *sc_ihand[6]; 70 71 /* --- 24 unchanged lines hidden --- | 67 struct iommu_state *sc_is; 68 u_int32_t sc_dvmabase; 69 70 struct resource *sc_mem_res; 71 struct resource *sc_irq_res[6]; 72 void *sc_ihand[6]; 73 74 /* --- 24 unchanged lines hidden --- |