1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
2 | /* |
3 | * Aic94xx SAS/SATA driver dump header file. |
4 | * |
5 | * Copyright (C) 2005 Adaptec, Inc. All rights reserved. |
6 | * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com> |
7 | */ |
8 | |
9 | #ifndef _AIC94XX_DUMP_H_ |
10 | #define _AIC94XX_DUMP_H_ |
11 | |
12 | #ifdef ASD_DEBUG |
13 | |
14 | void asd_dump_seq_state(struct asd_ha_struct *asd_ha, u8 lseq_mask); |
15 | void asd_dump_frame_rcvd(struct asd_phy *phy, |
16 | struct done_list_struct *dl); |
17 | #else /* ASD_DEBUG */ |
18 | |
19 | static inline void asd_dump_seq_state(struct asd_ha_struct *asd_ha, |
20 | u8 lseq_mask) { } |
21 | static inline void asd_dump_frame_rcvd(struct asd_phy *phy, |
22 | struct done_list_struct *dl) { } |
23 | #endif /* ASD_DEBUG */ |
24 | |
25 | #endif /* _AIC94XX_DUMP_H_ */ |
26 | |