libsas.h (f01387d2693813eb5271a3448e6a082322c7d75d) | libsas.h (1cbd772d9aaf6c697935cb855860b66cebacf950) |
---|---|
1/* 2 * SAS host prototypes and structures header file 3 * 4 * Copyright (C) 2005 Adaptec, Inc. All rights reserved. 5 * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com> 6 * 7 * This file is licensed under GPLv2. 8 * --- 147 unchanged lines hidden (view full) --- 156 157 struct ex_phy *ex_phy; 158 struct sas_port *parent_port; 159 160 struct mutex cmd_mutex; 161}; 162 163/* ---------- SATA device ---------- */ | 1/* 2 * SAS host prototypes and structures header file 3 * 4 * Copyright (C) 2005 Adaptec, Inc. All rights reserved. 5 * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com> 6 * 7 * This file is licensed under GPLv2. 8 * --- 147 unchanged lines hidden (view full) --- 156 157 struct ex_phy *ex_phy; 158 struct sas_port *parent_port; 159 160 struct mutex cmd_mutex; 161}; 162 163/* ---------- SATA device ---------- */ |
164enum ata_command_set { 165 ATA_COMMAND_SET = 0, 166 ATAPI_COMMAND_SET = 1, 167}; 168 | |
169#define ATA_RESP_FIS_SIZE 24 170 171struct sata_device { | 164#define ATA_RESP_FIS_SIZE 24 165 166struct sata_device { |
172 enum ata_command_set command_set; 173 struct smp_resp rps_resp; /* report_phy_sata_resp */ 174 u8 port_no; /* port number, if this is a PM (Port) */ | 167 unsigned int class; 168 struct smp_resp rps_resp; /* report_phy_sata_resp */ 169 u8 port_no; /* port number, if this is a PM (Port) */ |
175 176 struct ata_port *ap; 177 struct ata_host ata_host; 178 u8 fis[ATA_RESP_FIS_SIZE]; 179}; 180 181struct ssp_device { 182 struct list_head eh_list_node; /* pending a user requested eh action */ --- 571 unchanged lines hidden --- | 170 171 struct ata_port *ap; 172 struct ata_host ata_host; 173 u8 fis[ATA_RESP_FIS_SIZE]; 174}; 175 176struct ssp_device { 177 struct list_head eh_list_node; /* pending a user requested eh action */ --- 571 unchanged lines hidden --- |