bt.c (46490) | bt.c (46581) |
---|---|
1/* 2 * Generic driver for the BusLogic MultiMaster SCSI host adapters 3 * Product specific probe and attach routines can be found in: 4 * i386/isa/bt_isa.c BT-54X, BT-445 cards 5 * i386/eisa/bt_eisa.c BT-74x, BT-75x cards 6 * pci/bt_pci.c BT-946, BT-948, BT-956, BT-958 cards 7 * 8 * Copyright (c) 1998, 1999 Justin T. Gibbs. --- 15 unchanged lines hidden (view full) --- 24 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * | 1/* 2 * Generic driver for the BusLogic MultiMaster SCSI host adapters 3 * Product specific probe and attach routines can be found in: 4 * i386/isa/bt_isa.c BT-54X, BT-445 cards 5 * i386/eisa/bt_eisa.c BT-74x, BT-75x cards 6 * pci/bt_pci.c BT-946, BT-948, BT-956, BT-958 cards 7 * 8 * Copyright (c) 1998, 1999 Justin T. Gibbs. --- 15 unchanged lines hidden (view full) --- 24 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * |
32 * $Id: bt.c,v 1.18 1999/04/23 23:28:19 gibbs Exp $ | 32 * $Id: bt.c,v 1.19 1999/05/05 06:45:09 imp Exp $ |
33 */ 34 35 /* 36 * Special thanks to Leonard N. Zubkoff for writing such a complete and 37 * well documented Mylex/BusLogic MultiMaster driver for Linux. Support 38 * in this driver for the wide range of MultiMaster controllers and 39 * firmware revisions, with their otherwise undocumented quirks, would not 40 * have been possible without his efforts. --- 1204 unchanged lines hidden (view full) --- 1245 case XPT_ABORT: /* Abort the specified CCB */ 1246 /* XXX Implement */ 1247 ccb->ccb_h.status = CAM_REQ_INVALID; 1248 xpt_done(ccb); 1249 break; 1250 case XPT_SET_TRAN_SETTINGS: 1251 { 1252 /* XXX Implement */ | 33 */ 34 35 /* 36 * Special thanks to Leonard N. Zubkoff for writing such a complete and 37 * well documented Mylex/BusLogic MultiMaster driver for Linux. Support 38 * in this driver for the wide range of MultiMaster controllers and 39 * firmware revisions, with their otherwise undocumented quirks, would not 40 * have been possible without his efforts. --- 1204 unchanged lines hidden (view full) --- 1245 case XPT_ABORT: /* Abort the specified CCB */ 1246 /* XXX Implement */ 1247 ccb->ccb_h.status = CAM_REQ_INVALID; 1248 xpt_done(ccb); 1249 break; 1250 case XPT_SET_TRAN_SETTINGS: 1251 { 1252 /* XXX Implement */ |
1253 ccb->ccb_h.status = CAM_REQ_CMP; | 1253 ccb->ccb_h.status = CAM_PROVIDE_FAIL; |
1254 xpt_done(ccb); 1255 break; 1256 } 1257 case XPT_GET_TRAN_SETTINGS: 1258 /* Get default/user set transfer settings for the target */ 1259 { 1260 struct ccb_trans_settings *cts; 1261 u_int target_mask; --- 87 unchanged lines hidden (view full) --- 1349 cpi->hba_inquiry |= PI_WIDE_16; 1350 cpi->target_sprt = 0; 1351 cpi->hba_misc = 0; 1352 cpi->hba_eng_cnt = 0; 1353 cpi->max_target = bt->wide_bus ? 15 : 7; 1354 cpi->max_lun = 7; 1355 cpi->initiator_id = bt->scsi_id; 1356 cpi->bus_id = cam_sim_bus(sim); | 1254 xpt_done(ccb); 1255 break; 1256 } 1257 case XPT_GET_TRAN_SETTINGS: 1258 /* Get default/user set transfer settings for the target */ 1259 { 1260 struct ccb_trans_settings *cts; 1261 u_int target_mask; --- 87 unchanged lines hidden (view full) --- 1349 cpi->hba_inquiry |= PI_WIDE_16; 1350 cpi->target_sprt = 0; 1351 cpi->hba_misc = 0; 1352 cpi->hba_eng_cnt = 0; 1353 cpi->max_target = bt->wide_bus ? 15 : 7; 1354 cpi->max_lun = 7; 1355 cpi->initiator_id = bt->scsi_id; 1356 cpi->bus_id = cam_sim_bus(sim); |
1357 cpi->base_transfer_speed = 3300; |
|
1357 strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN); 1358 strncpy(cpi->hba_vid, "BusLogic", HBA_IDLEN); 1359 strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN); 1360 cpi->unit_number = cam_sim_unit(sim); 1361 cpi->ccb_h.status = CAM_REQ_CMP; 1362 xpt_done(ccb); 1363 break; 1364 } --- 978 unchanged lines hidden --- | 1358 strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN); 1359 strncpy(cpi->hba_vid, "BusLogic", HBA_IDLEN); 1360 strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN); 1361 cpi->unit_number = cam_sim_unit(sim); 1362 cpi->ccb_h.status = CAM_REQ_CMP; 1363 xpt_done(ccb); 1364 break; 1365 } --- 978 unchanged lines hidden --- |