12908d778ab3e244900c310974e1fc1c69066e450James Bottomley/* 22908d778ab3e244900c310974e1fc1c69066e450James Bottomley * Aic94xx SAS/SATA driver dump header file. 32908d778ab3e244900c310974e1fc1c69066e450James Bottomley * 42908d778ab3e244900c310974e1fc1c69066e450James Bottomley * Copyright (C) 2005 Adaptec, Inc. All rights reserved. 52908d778ab3e244900c310974e1fc1c69066e450James Bottomley * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com> 62908d778ab3e244900c310974e1fc1c69066e450James Bottomley * 72908d778ab3e244900c310974e1fc1c69066e450James Bottomley * This file is licensed under GPLv2. 82908d778ab3e244900c310974e1fc1c69066e450James Bottomley * 92908d778ab3e244900c310974e1fc1c69066e450James Bottomley * This file is part of the aic94xx driver. 102908d778ab3e244900c310974e1fc1c69066e450James Bottomley * 112908d778ab3e244900c310974e1fc1c69066e450James Bottomley * The aic94xx driver is free software; you can redistribute it and/or 122908d778ab3e244900c310974e1fc1c69066e450James Bottomley * modify it under the terms of the GNU General Public License as 132908d778ab3e244900c310974e1fc1c69066e450James Bottomley * published by the Free Software Foundation; version 2 of the 142908d778ab3e244900c310974e1fc1c69066e450James Bottomley * License. 152908d778ab3e244900c310974e1fc1c69066e450James Bottomley * 162908d778ab3e244900c310974e1fc1c69066e450James Bottomley * The aic94xx driver is distributed in the hope that it will be useful, 172908d778ab3e244900c310974e1fc1c69066e450James Bottomley * but WITHOUT ANY WARRANTY; without even the implied warranty of 182908d778ab3e244900c310974e1fc1c69066e450James Bottomley * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 192908d778ab3e244900c310974e1fc1c69066e450James Bottomley * General Public License for more details. 202908d778ab3e244900c310974e1fc1c69066e450James Bottomley * 212908d778ab3e244900c310974e1fc1c69066e450James Bottomley * You should have received a copy of the GNU General Public License 222908d778ab3e244900c310974e1fc1c69066e450James Bottomley * along with the aic94xx driver; if not, write to the Free Software 232908d778ab3e244900c310974e1fc1c69066e450James Bottomley * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 242908d778ab3e244900c310974e1fc1c69066e450James Bottomley * 252908d778ab3e244900c310974e1fc1c69066e450James Bottomley */ 262908d778ab3e244900c310974e1fc1c69066e450James Bottomley 272908d778ab3e244900c310974e1fc1c69066e450James Bottomley#ifndef _AIC94XX_DUMP_H_ 282908d778ab3e244900c310974e1fc1c69066e450James Bottomley#define _AIC94XX_DUMP_H_ 292908d778ab3e244900c310974e1fc1c69066e450James Bottomley 302908d778ab3e244900c310974e1fc1c69066e450James Bottomley#ifdef ASD_DEBUG 312908d778ab3e244900c310974e1fc1c69066e450James Bottomley 322908d778ab3e244900c310974e1fc1c69066e450James Bottomleyvoid asd_dump_seq_state(struct asd_ha_struct *asd_ha, u8 lseq_mask); 332908d778ab3e244900c310974e1fc1c69066e450James Bottomleyvoid asd_dump_frame_rcvd(struct asd_phy *phy, 342908d778ab3e244900c310974e1fc1c69066e450James Bottomley struct done_list_struct *dl); 352908d778ab3e244900c310974e1fc1c69066e450James Bottomley#else /* ASD_DEBUG */ 362908d778ab3e244900c310974e1fc1c69066e450James Bottomley 372908d778ab3e244900c310974e1fc1c69066e450James Bottomleystatic inline void asd_dump_seq_state(struct asd_ha_struct *asd_ha, 382908d778ab3e244900c310974e1fc1c69066e450James Bottomley u8 lseq_mask) { } 392908d778ab3e244900c310974e1fc1c69066e450James Bottomleystatic inline void asd_dump_frame_rcvd(struct asd_phy *phy, 402908d778ab3e244900c310974e1fc1c69066e450James Bottomley struct done_list_struct *dl) { } 412908d778ab3e244900c310974e1fc1c69066e450James Bottomley#endif /* ASD_DEBUG */ 422908d778ab3e244900c310974e1fc1c69066e450James Bottomley 432908d778ab3e244900c310974e1fc1c69066e450James Bottomley#endif /* _AIC94XX_DUMP_H_ */ 44