libsas.h (87c8331fcf72e501c3a3c0cdc5c9391ec72f7cf2) | libsas.h (b91bb296188118eea9fdc6093cfcf76bbe8589ba) |
---|---|
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 * --- 150 unchanged lines hidden (view full) --- 159enum ata_command_set { 160 ATA_COMMAND_SET = 0, 161 ATAPI_COMMAND_SET = 1, 162}; 163 164struct sata_device { 165 enum ata_command_set command_set; 166 struct smp_resp rps_resp; /* report_phy_sata_resp */ | 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 * --- 150 unchanged lines hidden (view full) --- 159enum ata_command_set { 160 ATA_COMMAND_SET = 0, 161 ATAPI_COMMAND_SET = 1, 162}; 163 164struct sata_device { 165 enum ata_command_set command_set; 166 struct smp_resp rps_resp; /* report_phy_sata_resp */ |
167 __le16 *identify_device; 168 __le16 *identify_packet_device; 169 | |
170 u8 port_no; /* port number, if this is a PM (Port) */ 171 struct list_head children; /* PM Ports if this is a PM */ 172 173 struct ata_port *ap; 174 struct ata_host ata_host; 175 struct ata_taskfile tf; 176}; 177 --- 426 unchanged lines hidden (view full) --- 604 605 /* Task Management Functions. Must be called from process context. */ 606 int (*lldd_abort_task)(struct sas_task *); 607 int (*lldd_abort_task_set)(struct domain_device *, u8 *lun); 608 int (*lldd_clear_aca)(struct domain_device *, u8 *lun); 609 int (*lldd_clear_task_set)(struct domain_device *, u8 *lun); 610 int (*lldd_I_T_nexus_reset)(struct domain_device *); 611 int (*lldd_ata_soft_reset)(struct domain_device *); | 167 u8 port_no; /* port number, if this is a PM (Port) */ 168 struct list_head children; /* PM Ports if this is a PM */ 169 170 struct ata_port *ap; 171 struct ata_host ata_host; 172 struct ata_taskfile tf; 173}; 174 --- 426 unchanged lines hidden (view full) --- 601 602 /* Task Management Functions. Must be called from process context. */ 603 int (*lldd_abort_task)(struct sas_task *); 604 int (*lldd_abort_task_set)(struct domain_device *, u8 *lun); 605 int (*lldd_clear_aca)(struct domain_device *, u8 *lun); 606 int (*lldd_clear_task_set)(struct domain_device *, u8 *lun); 607 int (*lldd_I_T_nexus_reset)(struct domain_device *); 608 int (*lldd_ata_soft_reset)(struct domain_device *); |
609 void (*lldd_ata_set_dmamode)(struct domain_device *); |
|
612 int (*lldd_lu_reset)(struct domain_device *, u8 *lun); 613 int (*lldd_query_task)(struct sas_task *); 614 615 /* Port and Adapter management */ 616 int (*lldd_clear_nexus_port)(struct asd_sas_port *); 617 int (*lldd_clear_nexus_ha)(struct sas_ha_struct *); 618 619 /* Phy management */ --- 66 unchanged lines hidden --- | 610 int (*lldd_lu_reset)(struct domain_device *, u8 *lun); 611 int (*lldd_query_task)(struct sas_task *); 612 613 /* Port and Adapter management */ 614 int (*lldd_clear_nexus_port)(struct asd_sas_port *); 615 int (*lldd_clear_nexus_ha)(struct sas_ha_struct *); 616 617 /* Phy management */ --- 66 unchanged lines hidden --- |