1/* $NetBSD: i80321var.h,v 1.8 2003/10/06 16:06:06 thorpej Exp $ */
2
3/*-
4 * Copyright (c) 2002, 2003 Wasabi Systems, Inc.
5 * All rights reserved.
6 *
7 * Written by Jason R. Thorpe for Wasabi Systems, Inc.
8 *
--- 20 unchanged lines hidden (view full) ---
29 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
30 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
31 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
32 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35 * POSSIBILITY OF SUCH DAMAGE.
36 *
37 * $FreeBSD: head/sys/arm/xscale/i80321/i80321var.h 150552 2005-09-25 21:06:50Z cognet $
38 *
39 */
40
41#ifndef _ARM_XSCALE_I80321VAR_H_
42#define _ARM_XSCALE_I80321VAR_H_
43
44#include <sys/queue.h>
45#include <dev/pci/pcivar.h>
--- 60 unchanged lines hidden (view full) ---
106 struct bus_space sc_pci_memt;
107
108 /* GPIO state */
109 uint8_t sc_gpio_dir; /* GPIO pin direction (1 == output) */
110 uint8_t sc_gpio_val; /* GPIO output pin value */
111 struct rman sc_irq_rman;
112
113};
114void i80321_sdram_bounds(bus_space_tag_t, bus_space_handle_t,
115 vm_paddr_t *, vm_size_t *);
116
117void i80321_attach(struct i80321_softc *);
118void i80321_calibrate_delay(void);
119
120void i80321_bs_init(bus_space_tag_t, void *);
121void i80321_io_bs_init(bus_space_tag_t, void *);
122void i80321_mem_bs_init(bus_space_tag_t, void *);
123
124#endif /* _ARM_XSCALE_I80321VAR_H_ */
2
3/*-
4 * Copyright (c) 2002, 2003 Wasabi Systems, Inc.
5 * All rights reserved.
6 *
7 * Written by Jason R. Thorpe for Wasabi Systems, Inc.
8 *
--- 20 unchanged lines hidden (view full) ---
29 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
30 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
31 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
32 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35 * POSSIBILITY OF SUCH DAMAGE.
36 *
37 * $FreeBSD: head/sys/arm/xscale/i80321/i80321var.h 150552 2005-09-25 21:06:50Z cognet $
38 *
39 */
40
41#ifndef _ARM_XSCALE_I80321VAR_H_
42#define _ARM_XSCALE_I80321VAR_H_
43
44#include <sys/queue.h>
45#include <dev/pci/pcivar.h>
--- 60 unchanged lines hidden (view full) ---
106 struct bus_space sc_pci_memt;
107
108 /* GPIO state */
109 uint8_t sc_gpio_dir; /* GPIO pin direction (1 == output) */
110 uint8_t sc_gpio_val; /* GPIO output pin value */
111 struct rman sc_irq_rman;
112
113};
114void i80321_sdram_bounds(bus_space_tag_t, bus_space_handle_t,
115 vm_paddr_t *, vm_size_t *);
116
117void i80321_attach(struct i80321_softc *);
118void i80321_calibrate_delay(void);
119
120void i80321_bs_init(bus_space_tag_t, void *);
121void i80321_io_bs_init(bus_space_tag_t, void *);
122void i80321_mem_bs_init(bus_space_tag_t, void *);
123
124#endif /* _ARM_XSCALE_I80321VAR_H_ */