fwmem.c (170374) | fwmem.c (201223) |
---|---|
1/*- 2 * Copyright (c) 2002-2003 3 * Hidetoshi Shimokawa. 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 --- 21 unchanged lines hidden (view full) --- 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 */ 35 36#ifdef __FreeBSD__ 37#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2002-2003 3 * Hidetoshi Shimokawa. 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 --- 21 unchanged lines hidden (view full) --- 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 */ 35 36#ifdef __FreeBSD__ 37#include <sys/cdefs.h> |
38__FBSDID("$FreeBSD: head/sys/dev/firewire/fwmem.c 170374 2007-06-06 14:31:36Z simokawa $"); | 38__FBSDID("$FreeBSD: head/sys/dev/firewire/fwmem.c 201223 2009-12-29 21:51:28Z rnoland $"); |
39#endif 40 41#include <sys/param.h> 42#include <sys/systm.h> 43#include <sys/types.h> 44 45#include <sys/kernel.h> 46#include <sys/malloc.h> --- 393 unchanged lines hidden (view full) --- 440fwmem_poll (struct cdev *dev, int events, fw_proc *td) 441{ 442 return EINVAL; 443} 444int 445#if defined(__DragonFly__) || __FreeBSD_version < 500102 446fwmem_mmap (struct cdev *dev, vm_offset_t offset, int nproto) 447#else | 39#endif 40 41#include <sys/param.h> 42#include <sys/systm.h> 43#include <sys/types.h> 44 45#include <sys/kernel.h> 46#include <sys/malloc.h> --- 393 unchanged lines hidden (view full) --- 440fwmem_poll (struct cdev *dev, int events, fw_proc *td) 441{ 442 return EINVAL; 443} 444int 445#if defined(__DragonFly__) || __FreeBSD_version < 500102 446fwmem_mmap (struct cdev *dev, vm_offset_t offset, int nproto) 447#else |
448fwmem_mmap (struct cdev *dev, vm_offset_t offset, vm_paddr_t *paddr, int nproto) | 448fwmem_mmap (struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr, 449 int nproto, vm_memattr_t *memattr) |
449#endif 450{ 451 return EINVAL; 452} | 450#endif 451{ 452 return EINVAL; 453} |