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