Deleted Added
sdiff udiff text old ( 164426 ) new ( 177887 )
full compact
1/* $NetBSD: ixp425_space.c,v 1.6 2006/04/10 03:36:03 simonb Exp $ */
2
3/*
4 * Copyright (c) 2003
5 * Ichiro FUKUHARA <ichiro@ichiro.org>.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 * SUCH DAMAGE.
34 */
35
36#include <sys/cdefs.h>
37__FBSDID("$FreeBSD: head/sys/arm/xscale/ixp425/ixp425_space.c 177887 2008-04-03 18:22:08Z raj $");
38
39/*
40 * bus_space I/O functions for ixp425
41 */
42
43#include <sys/param.h>
44#include <sys/systm.h>
45#include <sys/bus.h>

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

53#include <vm/vm_extern.h>
54
55#include <machine/bus.h>
56
57#include <arm/xscale/ixp425/ixp425reg.h>
58#include <arm/xscale/ixp425/ixp425var.h>
59
60/* Proto types for all the bus_space structure functions */
61bs_protos(generic);
62bs_protos(generic_armv4);
63
64struct bus_space ixp425_bs_tag = {
65 /* cookie */
66 .bs_cookie = (void *) 0,
67
68 /* mapping/unmapping */
69 .bs_map = generic_bs_map,
70 .bs_unmap = generic_bs_unmap,
71 .bs_subregion = generic_bs_subregion,
72
73 /* allocation/deallocation */
74 .bs_alloc = generic_bs_alloc,
75 .bs_free = generic_bs_free,
76
77 /* barrier */
78 .bs_barrier = generic_bs_barrier,
79
80 /* read (single) */
81 .bs_r_1 = generic_bs_r_1,
82 .bs_r_2 = generic_armv4_bs_r_2,
83 .bs_r_4 = generic_bs_r_4,
84 .bs_r_8 = NULL,
85
86 /* read multiple */

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

123 .bs_sr_8 = NULL,
124
125 /* copy */
126 .bs_c_1 = NULL,
127 .bs_c_2 = generic_armv4_bs_c_2,
128 .bs_c_4 = NULL,
129 .bs_c_8 = NULL,
130};