sas_ata.h (87c8331fcf72e501c3a3c0cdc5c9391ec72f7cf2) | sas_ata.h (9095a64a9aead653df320e3a6fc70835c15d46e4) |
---|---|
1/* 2 * Support for SATA devices on Serial Attached SCSI (SAS) controllers 3 * 4 * Copyright (C) 2006 IBM Corporation 5 * 6 * Written by: Darrick J. Wong <djwong@us.ibm.com>, IBM Corporation 7 * 8 * This program is free software; you can redistribute it and/or --- 27 unchanged lines hidden (view full) --- 36 dev->dev_type == SATA_PM_PORT; 37} 38 39int sas_ata_init_host_and_port(struct domain_device *found_dev, 40 struct scsi_target *starget); 41 42void sas_ata_task_abort(struct sas_task *task); 43void sas_ata_strategy_handler(struct Scsi_Host *shost); | 1/* 2 * Support for SATA devices on Serial Attached SCSI (SAS) controllers 3 * 4 * Copyright (C) 2006 IBM Corporation 5 * 6 * Written by: Darrick J. Wong <djwong@us.ibm.com>, IBM Corporation 7 * 8 * This program is free software; you can redistribute it and/or --- 27 unchanged lines hidden (view full) --- 36 dev->dev_type == SATA_PM_PORT; 37} 38 39int sas_ata_init_host_and_port(struct domain_device *found_dev, 40 struct scsi_target *starget); 41 42void sas_ata_task_abort(struct sas_task *task); 43void sas_ata_strategy_handler(struct Scsi_Host *shost); |
44int sas_ata_timed_out(struct scsi_cmnd *cmd, struct sas_task *task, 45 enum blk_eh_timer_return *rtn); | |
46int sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q, 47 struct list_head *done_q); 48void sas_probe_sata(struct work_struct *work); 49 50#else 51 52 53static inline int dev_is_sata(struct domain_device *dev) --- 8 unchanged lines hidden (view full) --- 62static inline void sas_ata_task_abort(struct sas_task *task) 63{ 64} 65 66static inline void sas_ata_strategy_handler(struct Scsi_Host *shost) 67{ 68} 69 | 44int sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q, 45 struct list_head *done_q); 46void sas_probe_sata(struct work_struct *work); 47 48#else 49 50 51static inline int dev_is_sata(struct domain_device *dev) --- 8 unchanged lines hidden (view full) --- 60static inline void sas_ata_task_abort(struct sas_task *task) 61{ 62} 63 64static inline void sas_ata_strategy_handler(struct Scsi_Host *shost) 65{ 66} 67 |
70static inline int sas_ata_timed_out(struct scsi_cmnd *cmd, 71 struct sas_task *task, 72 enum blk_eh_timer_return *rtn) 73{ 74 return 0; 75} | |
76static inline int sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q, 77 struct list_head *done_q) 78{ 79 return 0; 80} 81 82static inline void sas_probe_sata(struct work_struct *work) 83{ 84} 85 86#endif 87 88#endif /* _SAS_ATA_H_ */ | 68static inline int sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q, 69 struct list_head *done_q) 70{ 71 return 0; 72} 73 74static inline void sas_probe_sata(struct work_struct *work) 75{ 76} 77 78#endif 79 80#endif /* _SAS_ATA_H_ */ |