sa11x0_io.c (129198) | sa11x0_io.c (130585) |
---|---|
1/* $NetBSD: sa11x0_io.c,v 1.12 2003/07/15 00:24:51 lukem Exp $ */ 2 3/* 4 * Copyright (c) 1997 Mark Brinicombe. 5 * Copyright (c) 1997 Causality Limited. 6 * All rights reserved. 7 * 8 * This code is derived from software contributed to The NetBSD Foundation --- 27 unchanged lines hidden (view full) --- 36 * SUCH DAMAGE. 37 */ 38 39/* 40 * bus_space I/O functions for sa11x0 41 */ 42 43#include <sys/cdefs.h> | 1/* $NetBSD: sa11x0_io.c,v 1.12 2003/07/15 00:24:51 lukem Exp $ */ 2 3/* 4 * Copyright (c) 1997 Mark Brinicombe. 5 * Copyright (c) 1997 Causality Limited. 6 * All rights reserved. 7 * 8 * This code is derived from software contributed to The NetBSD Foundation --- 27 unchanged lines hidden (view full) --- 36 * SUCH DAMAGE. 37 */ 38 39/* 40 * bus_space I/O functions for sa11x0 41 */ 42 43#include <sys/cdefs.h> |
44__FBSDID("$FreeBSD: head/sys/arm/sa11x0/sa11x0_io.c 129198 2004-05-14 11:46:45Z cognet $"); | 44__FBSDID("$FreeBSD: head/sys/arm/sa11x0/sa11x0_io.c 130585 2004-06-16 09:47:26Z phk $"); |
45#include <sys/param.h> 46#include <sys/systm.h> 47#include <sys/queue.h> 48#include <sys/types.h> 49#include <sys/lock.h> 50#include <sys/mutex.h> 51 52#include <vm/vm.h> --- 167 unchanged lines hidden (view full) --- 220 bus_space_handle_t *nbshp; 221{ 222 223 *nbshp = bsh + offset; 224 return (0); 225} 226 227int | 45#include <sys/param.h> 46#include <sys/systm.h> 47#include <sys/queue.h> 48#include <sys/types.h> 49#include <sys/lock.h> 50#include <sys/mutex.h> 51 52#include <vm/vm.h> --- 167 unchanged lines hidden (view full) --- 220 bus_space_handle_t *nbshp; 221{ 222 223 *nbshp = bsh + offset; 224 return (0); 225} 226 227int |
228sa11x0_bs_mmap(dev_t t, vm_offset_t offset, vm_paddr_t *paddr, int nprot) | 228sa11x0_bs_mmap(struct cdev *t, vm_offset_t offset, vm_paddr_t *paddr, int nprot) |
229{ 230 *paddr = offset; 231 return (0); 232} 233 234void * 235sa11x0_bs_vaddr(t, bsh) 236 void *t; --- 16 unchanged lines hidden --- | 229{ 230 *paddr = offset; 231 return (0); 232} 233 234void * 235sa11x0_bs_vaddr(t, bsh) 236 void *t; --- 16 unchanged lines hidden --- |