cam_xpt.c (c7948a94c55b8bf0c92c818888daa0dcf1967cf2) | cam_xpt.c (93b0017f88462f9af15368440324aa3be58eb18f) |
---|---|
1/* 2 * Implementation of the Common Access Method Transport (XPT) layer. 3 * 4 * Copyright (c) 1997, 1998, 1999 Justin T. Gibbs. 5 * Copyright (c) 1997, 1998, 1999 Kenneth D. Merry. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 6442 unchanged lines hidden (view full) --- 6451 } 6452 6453 switch (cts->bus_width) { 6454 case MSG_EXT_WDTR_BUS_32_BIT: 6455 if (((device->flags & CAM_DEV_INQUIRY_DATA_VALID) == 0 6456 || (inq_data->flags & SID_WBus32) != 0) 6457 && (cpi.hba_inquiry & PI_WIDE_32) != 0) 6458 break; | 1/* 2 * Implementation of the Common Access Method Transport (XPT) layer. 3 * 4 * Copyright (c) 1997, 1998, 1999 Justin T. Gibbs. 5 * Copyright (c) 1997, 1998, 1999 Kenneth D. Merry. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 6442 unchanged lines hidden (view full) --- 6451 } 6452 6453 switch (cts->bus_width) { 6454 case MSG_EXT_WDTR_BUS_32_BIT: 6455 if (((device->flags & CAM_DEV_INQUIRY_DATA_VALID) == 0 6456 || (inq_data->flags & SID_WBus32) != 0) 6457 && (cpi.hba_inquiry & PI_WIDE_32) != 0) 6458 break; |
6459 /* Fall Through to 16-bit */ | 6459 /* FALLTHROUGH to 16-bit */ |
6460 case MSG_EXT_WDTR_BUS_16_BIT: 6461 if (((device->flags & CAM_DEV_INQUIRY_DATA_VALID) == 0 6462 || (inq_data->flags & SID_WBus16) != 0) 6463 && (cpi.hba_inquiry & PI_WIDE_16) != 0) { 6464 cts->bus_width = MSG_EXT_WDTR_BUS_16_BIT; 6465 break; 6466 } | 6460 case MSG_EXT_WDTR_BUS_16_BIT: 6461 if (((device->flags & CAM_DEV_INQUIRY_DATA_VALID) == 0 6462 || (inq_data->flags & SID_WBus16) != 0) 6463 && (cpi.hba_inquiry & PI_WIDE_16) != 0) { 6464 cts->bus_width = MSG_EXT_WDTR_BUS_16_BIT; 6465 break; 6466 } |
6467 /* Fall Through to 8-bit */ | 6467 /* FALLTHROUGH to 8-bit */ |
6468 default: /* New bus width?? */ 6469 case MSG_EXT_WDTR_BUS_8_BIT: 6470 /* All targets can do this */ 6471 cts->bus_width = MSG_EXT_WDTR_BUS_8_BIT; 6472 break; 6473 } 6474 6475 if ((cts->flags & CCB_TRANS_DISC_ENB) == 0) { --- 522 unchanged lines hidden --- | 6468 default: /* New bus width?? */ 6469 case MSG_EXT_WDTR_BUS_8_BIT: 6470 /* All targets can do this */ 6471 cts->bus_width = MSG_EXT_WDTR_BUS_8_BIT; 6472 break; 6473 } 6474 6475 if ((cts->flags & CCB_TRANS_DISC_ENB) == 0) { --- 522 unchanged lines hidden --- |