aic94xx_dump.h 715 B

12345678910111213141516171819202122232425
  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 <[email protected]>
  7. */
  8. #ifndef _AIC94XX_DUMP_H_
  9. #define _AIC94XX_DUMP_H_
  10. #ifdef ASD_DEBUG
  11. void asd_dump_seq_state(struct asd_ha_struct *asd_ha, u8 lseq_mask);
  12. void asd_dump_frame_rcvd(struct asd_phy *phy,
  13. struct done_list_struct *dl);
  14. #else /* ASD_DEBUG */
  15. static inline void asd_dump_seq_state(struct asd_ha_struct *asd_ha,
  16. u8 lseq_mask) { }
  17. static inline void asd_dump_frame_rcvd(struct asd_phy *phy,
  18. struct done_list_struct *dl) { }
  19. #endif /* ASD_DEBUG */
  20. #endif /* _AIC94XX_DUMP_H_ */