Deleted Added
full compact
sym_fw.h (86266) sym_fw.h (118472)
1/*
2 * Device driver optimized for the Symbios/LSI 53C896/53C895A/53C1010
3 * PCI-SCSI controllers.
4 *
5 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr>
6 *
7 * This driver also supports the following Symbios/LSI PCI-SCSI chips:
8 * 53C810A, 53C825A, 53C860, 53C875, 53C876, 53C885, 53C895,

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

50 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
51 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
52 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
53 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
54 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
55 * SUCH DAMAGE.
56 */
57
1/*
2 * Device driver optimized for the Symbios/LSI 53C896/53C895A/53C1010
3 * PCI-SCSI controllers.
4 *
5 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr>
6 *
7 * This driver also supports the following Symbios/LSI PCI-SCSI chips:
8 * 53C810A, 53C825A, 53C860, 53C875, 53C876, 53C885, 53C895,

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

50 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
51 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
52 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
53 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
54 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
55 * SUCH DAMAGE.
56 */
57
58/* $FreeBSD: head/sys/dev/sym/sym_fw.h 86266 2001-11-11 17:56:35Z groudier $ */
58/* $FreeBSD: head/sys/dev/sym/sym_fw.h 118472 2003-08-05 07:22:12Z dds $ */
59
60#ifndef SYM_FW_H
61#define SYM_FW_H
62/*
63 * Macro used to generate interfaces for script A.
64 */
65#define SYM_GEN_FW_A(s) \
66 SYM_GEN_A(s, start) SYM_GEN_A(s, getjob_begin) \

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

101 */
102#define SYM_GEN_A(s, label) s label;
103#define SYM_GEN_B(s, label) s label;
104struct sym_fwa_ofs {
105 SYM_GEN_FW_A(u_short)
106};
107struct sym_fwb_ofs {
108 SYM_GEN_FW_B(u_short)
59
60#ifndef SYM_FW_H
61#define SYM_FW_H
62/*
63 * Macro used to generate interfaces for script A.
64 */
65#define SYM_GEN_FW_A(s) \
66 SYM_GEN_A(s, start) SYM_GEN_A(s, getjob_begin) \

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

101 */
102#define SYM_GEN_A(s, label) s label;
103#define SYM_GEN_B(s, label) s label;
104struct sym_fwa_ofs {
105 SYM_GEN_FW_A(u_short)
106};
107struct sym_fwb_ofs {
108 SYM_GEN_FW_B(u_short)
109 SYM_GEN_B(u_short, start64);
110 SYM_GEN_B(u_short, pm_handle);
109 SYM_GEN_B(u_short, start64)
110 SYM_GEN_B(u_short, pm_handle)
111};
112
113/*
114 * Generates structure interface that contains
115 * bus addresses within script A and script B.
116 */
117struct sym_fwa_ba {
118 SYM_GEN_FW_A(u32)
119};
120struct sym_fwb_ba {
121 SYM_GEN_FW_B(u32)
111};
112
113/*
114 * Generates structure interface that contains
115 * bus addresses within script A and script B.
116 */
117struct sym_fwa_ba {
118 SYM_GEN_FW_A(u32)
119};
120struct sym_fwb_ba {
121 SYM_GEN_FW_B(u32)
122 SYM_GEN_B(u32, start64);
123 SYM_GEN_B(u32, pm_handle);
122 SYM_GEN_B(u32, start64)
123 SYM_GEN_B(u32, pm_handle)
124};
125#undef SYM_GEN_A
126#undef SYM_GEN_B
127
128/*
129 * Let cc know about the name of the controller data structure.
130 * We need this for function prototype declarations just below.
131 */

--- 77 unchanged lines hidden ---
124};
125#undef SYM_GEN_A
126#undef SYM_GEN_B
127
128/*
129 * Let cc know about the name of the controller data structure.
130 * We need this for function prototype declarations just below.
131 */

--- 77 unchanged lines hidden ---