1/* 2 * Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa 3 * 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 --- 16 unchanged lines hidden (view full) --- 25 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 26 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 27 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 29 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 30 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 31 * POSSIBILITY OF SUCH DAMAGE. 32 * |
33 * $FreeBSD: head/sys/dev/firewire/firewire.h 111942 2003-03-06 05:06:44Z simokawa $ |
34 * 35 */ 36 37#ifndef _FIREWIRE_H 38#define _FIREWIRE_H 1 39 40#define DEV_DEF 0 41#define DEV_DV 2 --- 46 unchanged lines hidden (view full) --- 88 89struct fw_reg_req_t { 90 unsigned long addr; 91 unsigned long data; 92}; 93 94#define MAXREC(x) (2 << (x)) 95#define FWPMAX_S400 (2048 + 20) /* MAXREC plus space for control data */ |
96#define FWMAXQUEUE 256 |
97 98#define FWLOCALBUS 0xffc0 99 100#define FWTCODE_WREQQ 0 101#define FWTCODE_WREQB 1 102#define FWTCODE_WRES 2 103#define FWTCODE_RREQQ 4 104#define FWTCODE_RREQB 5 --- 394 unchanged lines hidden --- |