Deleted Added
full compact
ispvar.h (292765) ispvar.h (297858)
1/* $FreeBSD: head/sys/dev/isp/ispvar.h 292765 2015-12-27 06:28:31Z mav $ */
1/* $FreeBSD: head/sys/dev/isp/ispvar.h 297858 2016-04-12 14:19:19Z mav $ */
2/*-
3 * Copyright (c) 1997-2009 by Matthew Jacob
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:
9 *

--- 115 unchanged lines hidden (view full) ---

125 * Defined Memory Barrier Synchronization Types
126 */
127#define SYNC_REQUEST 0 /* request queue synchronization */
128#define SYNC_RESULT 1 /* result queue synchronization */
129#define SYNC_SFORDEV 2 /* scratch, sync for ISP */
130#define SYNC_SFORCPU 3 /* scratch, sync for CPU */
131#define SYNC_REG 4 /* for registers */
132#define SYNC_ATIOQ 5 /* atio result queue (24xx) */
2/*-
3 * Copyright (c) 1997-2009 by Matthew Jacob
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:
9 *

--- 115 unchanged lines hidden (view full) ---

125 * Defined Memory Barrier Synchronization Types
126 */
127#define SYNC_REQUEST 0 /* request queue synchronization */
128#define SYNC_RESULT 1 /* result queue synchronization */
129#define SYNC_SFORDEV 2 /* scratch, sync for ISP */
130#define SYNC_SFORCPU 3 /* scratch, sync for CPU */
131#define SYNC_REG 4 /* for registers */
132#define SYNC_ATIOQ 5 /* atio result queue (24xx) */
133#define SYNC_IFORDEV 6 /* synchrounous IOCB, sync for ISP */
134#define SYNC_IFORCPU 7 /* synchrounous IOCB, sync for CPU */
133
134/*
135 * Request/Response Queue defines and macros.
136 * The maximum is defined per platform (and can be based on board type).
137 */
138/* This is the size of a queue entry (request and response) */
139#define QENTRY_LEN 64
140/* Both request and result queue length must be a power of two */

--- 450 unchanged lines hidden (view full) ---

591
592 /*
593 * Active commands are stored here, indexed by handle functions.
594 */
595 isp_hdl_t *isp_xflist;
596 isp_hdl_t *isp_xffree;
597
598 /*
135
136/*
137 * Request/Response Queue defines and macros.
138 * The maximum is defined per platform (and can be based on board type).
139 */
140/* This is the size of a queue entry (request and response) */
141#define QENTRY_LEN 64
142/* Both request and result queue length must be a power of two */

--- 450 unchanged lines hidden (view full) ---

593
594 /*
595 * Active commands are stored here, indexed by handle functions.
596 */
597 isp_hdl_t *isp_xflist;
598 isp_hdl_t *isp_xffree;
599
600 /*
601 * DMA mapped in area for synchronous IOCB requests.
602 */
603 void * isp_iocb;
604 XS_DMA_ADDR_T isp_iocb_dma;
605
606 /*
599 * request/result queue pointers and DMA handles for them.
600 */
601 void * isp_rquest;
602 void * isp_result;
603 XS_DMA_ADDR_T isp_rquest_dma;
604 XS_DMA_ADDR_T isp_result_dma;
605#ifdef ISP_TARGET_MODE
606 /* for 24XX only */

--- 542 unchanged lines hidden ---
607 * request/result queue pointers and DMA handles for them.
608 */
609 void * isp_rquest;
610 void * isp_result;
611 XS_DMA_ADDR_T isp_rquest_dma;
612 XS_DMA_ADDR_T isp_result_dma;
613#ifdef ISP_TARGET_MODE
614 /* for 24XX only */

--- 542 unchanged lines hidden ---