aic94xx_tmf.c (4b4193256c8d3bc3a5397b5cd9494c2ad386317d) | aic94xx_tmf.c (1d6049a3b14feb39c8d6c8f538a711dcc54f88e0) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Aic94xx Task Management Functions 4 * 5 * Copyright (C) 2005 Adaptec, Inc. All rights reserved. 6 * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com> 7 */ 8 --- 273 unchanged lines hidden (view full) --- 282 return res; 283 } 284 285 edb = asd_ha->seq.edb_arr[edb_id + escb->edb_index]; 286 ascb->tag = *(__be16 *)(edb->vaddr+4); 287 fh = edb->vaddr + 16; 288 ru = edb->vaddr + 16 + sizeof(*fh); 289 res = ru->status; | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Aic94xx Task Management Functions 4 * 5 * Copyright (C) 2005 Adaptec, Inc. All rights reserved. 6 * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com> 7 */ 8 --- 273 unchanged lines hidden (view full) --- 282 return res; 283 } 284 285 edb = asd_ha->seq.edb_arr[edb_id + escb->edb_index]; 286 ascb->tag = *(__be16 *)(edb->vaddr+4); 287 fh = edb->vaddr + 16; 288 ru = edb->vaddr + 16 + sizeof(*fh); 289 res = ru->status; |
290 if (ru->datapres == 1) /* Response data present */ | 290 if (ru->datapres == SAS_DATAPRES_RESPONSE_DATA) |
291 res = ru->resp_data[3]; 292#if 0 293 ascb->tag = fh->tag; 294#endif 295 ascb->tag_valid = 1; 296 297 asd_invalidate_edb(escb, edb_id); 298 return res; --- 397 unchanged lines hidden --- | 291 res = ru->resp_data[3]; 292#if 0 293 ascb->tag = fh->tag; 294#endif 295 ascb->tag_valid = 1; 296 297 asd_invalidate_edb(escb, edb_id); 298 return res; --- 397 unchanged lines hidden --- |