Linux 4.18.10
[linux/fpc-iii.git] / drivers / scsi / aic94xx / aic94xx_dump.h
blob191a753d42a7a7783e606ef19f9443a2124f41ac
1 /*
2 * Aic94xx SAS/SATA driver dump header file.
4 * Copyright (C) 2005 Adaptec, Inc. All rights reserved.
5 * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
7 * This file is licensed under GPLv2.
9 * This file is part of the aic94xx driver.
11 * The aic94xx driver is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License as
13 * published by the Free Software Foundation; version 2 of the
14 * License.
16 * The aic94xx driver is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 * General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with the aic94xx driver; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
27 #ifndef _AIC94XX_DUMP_H_
28 #define _AIC94XX_DUMP_H_
30 #ifdef ASD_DEBUG
32 void asd_dump_seq_state(struct asd_ha_struct *asd_ha, u8 lseq_mask);
33 void asd_dump_frame_rcvd(struct asd_phy *phy,
34 struct done_list_struct *dl);
35 #else /* ASD_DEBUG */
37 static inline void asd_dump_seq_state(struct asd_ha_struct *asd_ha,
38 u8 lseq_mask) { }
39 static inline void asd_dump_frame_rcvd(struct asd_phy *phy,
40 struct done_list_struct *dl) { }
41 #endif /* ASD_DEBUG */
43 #endif /* _AIC94XX_DUMP_H_ */