Deleted Added
full compact
vpo.c (42475) vpo.c (46581)
1/*-
2 * Copyright (c) 1997, 1998 Nicolas Souchu
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

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

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*-
2 * Copyright (c) 1997, 1998 Nicolas Souchu
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

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

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $Id: vpo.c,v 1.10 1999/01/09 18:05:46 nsouch Exp $
26 * $Id: vpo.c,v 1.11 1999/01/10 12:04:55 nsouch Exp $
27 *
28 */
29
30#ifdef KERNEL
31#include <sys/param.h>
32#include <sys/systm.h>
33#include <sys/malloc.h>
34#include <sys/buf.h>

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

416 cpi->hba_inquiry = 0;
417 cpi->target_sprt = 0;
418 cpi->hba_misc = 0;
419 cpi->hba_eng_cnt = 0;
420 cpi->max_target = 7;
421 cpi->max_lun = 0;
422 cpi->initiator_id = VP0_INITIATOR;
423 cpi->bus_id = sim->bus_id;
27 *
28 */
29
30#ifdef KERNEL
31#include <sys/param.h>
32#include <sys/systm.h>
33#include <sys/malloc.h>
34#include <sys/buf.h>

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

416 cpi->hba_inquiry = 0;
417 cpi->target_sprt = 0;
418 cpi->hba_misc = 0;
419 cpi->hba_eng_cnt = 0;
420 cpi->max_target = 7;
421 cpi->max_lun = 0;
422 cpi->initiator_id = VP0_INITIATOR;
423 cpi->bus_id = sim->bus_id;
424 cpi->base_transfer_speed = 3300;
424 strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
425 strncpy(cpi->hba_vid, "Iomega", HBA_IDLEN);
426 strncpy(cpi->dev_name, sim->sim_name, DEV_IDLEN);
427 cpi->unit_number = sim->unit_number;
428
429 cpi->ccb_h.status = CAM_REQ_CMP;
430 xpt_done(ccb);
431 break;

--- 16 unchanged lines hidden ---
425 strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
426 strncpy(cpi->hba_vid, "Iomega", HBA_IDLEN);
427 strncpy(cpi->dev_name, sim->sim_name, DEV_IDLEN);
428 cpi->unit_number = sim->unit_number;
429
430 cpi->ccb_h.status = CAM_REQ_CMP;
431 xpt_done(ccb);
432 break;

--- 16 unchanged lines hidden ---