Deleted Added
full compact
dpt_scsi.c (42018) dpt_scsi.c (46581)
1/*
2 * Copyright (c) 1997 by Simon Shapiro
3 * All Rights Reserved
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 29 unchanged lines hidden (view full) ---

38 * team for creating and maintaining such a wonderful O/S.
39 *
40 * TODO: * Add ISA probe code.
41 * * Add driver-level RAID-0. This will allow interoperability with
42 * NiceTry, M$-Doze, Win-Dog, Slowlaris, etc., in recognizing RAID
43 * arrays that span controllers (Wow!).
44 */
45
1/*
2 * Copyright (c) 1997 by Simon Shapiro
3 * All Rights Reserved
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 29 unchanged lines hidden (view full) ---

38 * team for creating and maintaining such a wonderful O/S.
39 *
40 * TODO: * Add ISA probe code.
41 * * Add driver-level RAID-0. This will allow interoperability with
42 * NiceTry, M$-Doze, Win-Dog, Slowlaris, etc., in recognizing RAID
43 * arrays that span controllers (Wow!).
44 */
45
46#ident "$Id: dpt_scsi.c,v 1.21 1998/12/22 00:52:27 eivind Exp $"
46#ident "$Id: dpt_scsi.c,v 1.22 1998/12/22 20:21:12 eivind Exp $"
47
48#define _DPT_C_
49
50#include "opt_dpt.h"
51#include <sys/param.h>
52#include <sys/systm.h>
53#include <sys/malloc.h>
54#include <sys/buf.h>

--- 914 unchanged lines hidden (view full) ---

969 cpi->hba_inquiry |= PI_WIDE_16;
970 cpi->target_sprt = 0;
971 cpi->hba_misc = 0;
972 cpi->hba_eng_cnt = 0;
973 cpi->max_target = dpt->max_id;
974 cpi->max_lun = dpt->max_lun;
975 cpi->initiator_id = dpt->hostid[cam_sim_bus(sim)];
976 cpi->bus_id = cam_sim_bus(sim);
47
48#define _DPT_C_
49
50#include "opt_dpt.h"
51#include <sys/param.h>
52#include <sys/systm.h>
53#include <sys/malloc.h>
54#include <sys/buf.h>

--- 914 unchanged lines hidden (view full) ---

969 cpi->hba_inquiry |= PI_WIDE_16;
970 cpi->target_sprt = 0;
971 cpi->hba_misc = 0;
972 cpi->hba_eng_cnt = 0;
973 cpi->max_target = dpt->max_id;
974 cpi->max_lun = dpt->max_lun;
975 cpi->initiator_id = dpt->hostid[cam_sim_bus(sim)];
976 cpi->bus_id = cam_sim_bus(sim);
977 cpi->base_transfer_speed = 3300;
977 strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
978 strncpy(cpi->hba_vid, "DPT", HBA_IDLEN);
979 strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
980 cpi->unit_number = cam_sim_unit(sim);
981 cpi->ccb_h.status = CAM_REQ_CMP;
982 xpt_done(ccb);
983 break;
984 }

--- 1541 unchanged lines hidden ---
978 strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
979 strncpy(cpi->hba_vid, "DPT", HBA_IDLEN);
980 strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
981 cpi->unit_number = cam_sim_unit(sim);
982 cpi->ccb_h.status = CAM_REQ_CMP;
983 xpt_done(ccb);
984 break;
985 }

--- 1541 unchanged lines hidden ---