fwohci.c (243857) | fwohci.c (258780) |
---|---|
1/*- 2 * Copyright (c) 2003 Hidetoshi Shimokawa 3 * Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 17 unchanged lines hidden (view full) --- 26 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 30 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 31 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 32 * POSSIBILITY OF SUCH DAMAGE. 33 * | 1/*- 2 * Copyright (c) 2003 Hidetoshi Shimokawa 3 * Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 17 unchanged lines hidden (view full) --- 26 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 30 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 31 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 32 * POSSIBILITY OF SUCH DAMAGE. 33 * |
34 * $FreeBSD: head/sys/dev/firewire/fwohci.c 243857 2012-12-04 09:32:43Z glebius $ | 34 * $FreeBSD: head/sys/dev/firewire/fwohci.c 258780 2013-11-30 22:17:27Z eadler $ |
35 * 36 */ 37 38#define ATRQ_CH 0 39#define ATRS_CH 1 40#define ARRQ_CH 2 41#define ARRS_CH 3 42#define ITX_CH 4 --- 131 unchanged lines hidden (view full) --- 174#define DMA_PROG_ALLOC (8 * PAGE_SIZE) 175 176#define NDB FWMAXQUEUE 177 178#define OHCI_VERSION 0x00 179#define OHCI_ATRETRY 0x08 180#define OHCI_CROMHDR 0x18 181#define OHCI_BUS_OPT 0x20 | 35 * 36 */ 37 38#define ATRQ_CH 0 39#define ATRS_CH 1 40#define ARRQ_CH 2 41#define ARRS_CH 3 42#define ITX_CH 4 --- 131 unchanged lines hidden (view full) --- 174#define DMA_PROG_ALLOC (8 * PAGE_SIZE) 175 176#define NDB FWMAXQUEUE 177 178#define OHCI_VERSION 0x00 179#define OHCI_ATRETRY 0x08 180#define OHCI_CROMHDR 0x18 181#define OHCI_BUS_OPT 0x20 |
182#define OHCI_BUSIRMC (1 << 31) | 182#define OHCI_BUSIRMC (1U << 31) |
183#define OHCI_BUSCMC (1 << 30) 184#define OHCI_BUSISC (1 << 29) 185#define OHCI_BUSBMC (1 << 28) 186#define OHCI_BUSPMC (1 << 27) 187#define OHCI_BUSFNC OHCI_BUSIRMC | OHCI_BUSCMC | OHCI_BUSISC |\ 188 OHCI_BUSBMC | OHCI_BUSPMC 189 190#define OHCI_EUID_HI 0x24 --- 9 unchanged lines hidden (view full) --- 200#define OHCI_PREQHI 0x110 201#define OHCI_PREQHICLR 0x114 202#define OHCI_PREQLO 0x118 203#define OHCI_PREQLOCLR 0x11c 204#define OHCI_PREQUPPER 0x120 205 206#define OHCI_SID_BUF 0x64 207#define OHCI_SID_CNT 0x68 | 183#define OHCI_BUSCMC (1 << 30) 184#define OHCI_BUSISC (1 << 29) 185#define OHCI_BUSBMC (1 << 28) 186#define OHCI_BUSPMC (1 << 27) 187#define OHCI_BUSFNC OHCI_BUSIRMC | OHCI_BUSCMC | OHCI_BUSISC |\ 188 OHCI_BUSBMC | OHCI_BUSPMC 189 190#define OHCI_EUID_HI 0x24 --- 9 unchanged lines hidden (view full) --- 200#define OHCI_PREQHI 0x110 201#define OHCI_PREQHICLR 0x114 202#define OHCI_PREQLO 0x118 203#define OHCI_PREQLOCLR 0x11c 204#define OHCI_PREQUPPER 0x120 205 206#define OHCI_SID_BUF 0x64 207#define OHCI_SID_CNT 0x68 |
208#define OHCI_SID_ERR (1 << 31) | 208#define OHCI_SID_ERR (1U << 31) |
209#define OHCI_SID_CNT_MASK 0xffc 210 211#define OHCI_IT_STAT 0x90 212#define OHCI_IT_STATCLR 0x94 213#define OHCI_IT_MASK 0x98 214#define OHCI_IT_MASKCLR 0x9c 215 216#define OHCI_IR_STAT 0xa0 --- 2773 unchanged lines hidden --- | 209#define OHCI_SID_CNT_MASK 0xffc 210 211#define OHCI_IT_STAT 0x90 212#define OHCI_IT_STATCLR 0x94 213#define OHCI_IT_MASK 0x98 214#define OHCI_IT_MASKCLR 0x9c 215 216#define OHCI_IR_STAT 0xa0 --- 2773 unchanged lines hidden --- |