You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Merge branch 'jejb-scsi' into misc
This commit is contained in:
@@ -668,6 +668,9 @@ struct Scsi_Host {
|
||||
unsigned use_blk_mq:1;
|
||||
unsigned use_cmd_list:1;
|
||||
|
||||
/* Host responded with short (<36 bytes) INQUIRY result */
|
||||
unsigned short_inquiry:1;
|
||||
|
||||
/*
|
||||
* Optional work queue to be utilized by the transport
|
||||
*/
|
||||
|
||||
@@ -10,6 +10,15 @@ struct scsi_transport_template;
|
||||
struct sas_rphy;
|
||||
struct request;
|
||||
|
||||
#if !IS_ENABLED(CONFIG_SCSI_SAS_ATTRS)
|
||||
static inline int is_sas_attached(struct scsi_device *sdev)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#else
|
||||
extern int is_sas_attached(struct scsi_device *sdev);
|
||||
#endif
|
||||
|
||||
static inline int sas_protocol_ata(enum sas_protocol proto)
|
||||
{
|
||||
return ((proto & SAS_PROTOCOL_SATA) ||
|
||||
@@ -180,6 +189,7 @@ extern int sas_phy_add(struct sas_phy *);
|
||||
extern void sas_phy_delete(struct sas_phy *);
|
||||
extern int scsi_is_sas_phy(const struct device *);
|
||||
|
||||
u64 sas_get_address(struct scsi_device *);
|
||||
unsigned int sas_tlr_supported(struct scsi_device *);
|
||||
unsigned int sas_is_tlr_enabled(struct scsi_device *);
|
||||
void sas_disable_tlr(struct scsi_device *);
|
||||
|
||||
Reference in New Issue
Block a user