1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Aic94xx SAS/SATA driver sequencer interface header file.
5 * Copyright (C) 2005 Adaptec, Inc. All rights reserved.
6 * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
9 #ifndef _AIC94XX_SEQ_H_
10 #define _AIC94XX_SEQ_H_
12 #define CSEQ_NUM_VECS 3
13 #define LSEQ_NUM_VECS 11
15 #define SAS_RAZOR_SEQUENCER_FW_FILE "aic94xx-seq.fw"
16 #define SAS_RAZOR_SEQUENCER_FW_MAJOR 1
18 /* Note: All quantites in the sequencer file are little endian */
19 struct sequencer_file_header
{
20 /* Checksum of the entire contents of the sequencer excluding
23 /* numeric major version */
25 /* numeric minor version */
27 /* version string printed by driver */
29 u32 cseq_table_offset
;
31 u32 lseq_table_offset
;
40 } __attribute__((packed
));
43 int asd_init_seqs(struct asd_ha_struct
*asd_ha
);
44 int asd_start_seqs(struct asd_ha_struct
*asd_ha
);
45 int asd_release_firmware(void);
47 void asd_update_port_links(struct asd_ha_struct
*asd_ha
, struct asd_phy
*phy
);