1*bb5ea4ebSJérôme Duval /*- 2*bb5ea4ebSJérôme Duval * Copyright (C) 2002-2003 3*bb5ea4ebSJérôme Duval * Hidetoshi Shimokawa. All rights reserved. 4*bb5ea4ebSJérôme Duval * 5*bb5ea4ebSJérôme Duval * Redistribution and use in source and binary forms, with or without 6*bb5ea4ebSJérôme Duval * modification, are permitted provided that the following conditions 7*bb5ea4ebSJérôme Duval * are met: 8*bb5ea4ebSJérôme Duval * 1. Redistributions of source code must retain the above copyright 9*bb5ea4ebSJérôme Duval * notice, this list of conditions and the following disclaimer. 10*bb5ea4ebSJérôme Duval * 2. Redistributions in binary form must reproduce the above copyright 11*bb5ea4ebSJérôme Duval * notice, this list of conditions and the following disclaimer in the 12*bb5ea4ebSJérôme Duval * documentation and/or other materials provided with the distribution. 13*bb5ea4ebSJérôme Duval * 3. All advertising materials mentioning features or use of this software 14*bb5ea4ebSJérôme Duval * must display the following acknowledgement: 15*bb5ea4ebSJérôme Duval * 16*bb5ea4ebSJérôme Duval * This product includes software developed by Hidetoshi Shimokawa. 17*bb5ea4ebSJérôme Duval * 18*bb5ea4ebSJérôme Duval * 4. Neither the name of the author nor the names of its contributors 19*bb5ea4ebSJérôme Duval * may be used to endorse or promote products derived from this software 20*bb5ea4ebSJérôme Duval * without specific prior written permission. 21*bb5ea4ebSJérôme Duval * 22*bb5ea4ebSJérôme Duval * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 23*bb5ea4ebSJérôme Duval * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24*bb5ea4ebSJérôme Duval * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25*bb5ea4ebSJérôme Duval * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 26*bb5ea4ebSJérôme Duval * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27*bb5ea4ebSJérôme Duval * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28*bb5ea4ebSJérôme Duval * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29*bb5ea4ebSJérôme Duval * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30*bb5ea4ebSJérôme Duval * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31*bb5ea4ebSJérôme Duval * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32*bb5ea4ebSJérôme Duval * SUCH DAMAGE. 33*bb5ea4ebSJérôme Duval * 34*bb5ea4ebSJérôme Duval * $FreeBSD: src/sys/dev/firewire/fwmem.h,v 1.8 2005/01/06 01:42:41 imp Exp $ 35*bb5ea4ebSJérôme Duval */ 36*bb5ea4ebSJérôme Duval 37*bb5ea4ebSJérôme Duval struct fw_xfer *fwmem_read_quad(struct fw_device *, caddr_t, uint8_t, 38*bb5ea4ebSJérôme Duval uint16_t, uint32_t, void *, void (*)(struct fw_xfer *)); 39*bb5ea4ebSJérôme Duval struct fw_xfer *fwmem_write_quad(struct fw_device *, caddr_t, uint8_t, 40*bb5ea4ebSJérôme Duval uint16_t, uint32_t, void *, void (*)(struct fw_xfer *)); 41*bb5ea4ebSJérôme Duval struct fw_xfer *fwmem_read_block(struct fw_device *, caddr_t, uint8_t, 42*bb5ea4ebSJérôme Duval uint16_t, uint32_t, int, void *, void (*)(struct fw_xfer *)); 43*bb5ea4ebSJérôme Duval struct fw_xfer *fwmem_write_block(struct fw_device *, caddr_t, uint8_t, 44*bb5ea4ebSJérôme Duval uint16_t, uint32_t, int, void *, void (*)(struct fw_xfer *)); 45*bb5ea4ebSJérôme Duval 46*bb5ea4ebSJérôme Duval #ifndef __HAIKU__ 47*bb5ea4ebSJérôme Duval d_open_t fwmem_open; 48*bb5ea4ebSJérôme Duval d_close_t fwmem_close; 49*bb5ea4ebSJérôme Duval d_ioctl_t fwmem_ioctl; 50*bb5ea4ebSJérôme Duval d_read_t fwmem_read; 51*bb5ea4ebSJérôme Duval d_write_t fwmem_write; 52*bb5ea4ebSJérôme Duval d_poll_t fwmem_poll; 53*bb5ea4ebSJérôme Duval d_mmap_t fwmem_mmap; 54*bb5ea4ebSJérôme Duval d_strategy_t fwmem_strategy; 55*bb5ea4ebSJérôme Duval #endif 56