Deleted Added
sdiff udiff text old ( 119418 ) new ( 120477 )
full compact
1/*
2 * Copyright (c) 2000-03 Intel Corporation
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 * notice, this list of conditions, and the following disclaimer,
10 * without modification, immediately at the beginning of the file.

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

25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 */
29
30/*
31 * iir.c: SCSI dependant code for the Intel Integrated RAID Controller driver
32 *
33 * Written by: Achim Leubner <achim.leubner@intel.com>
34 * Fixes/Additions: Boji Tony Kannanthanam <boji.t.kannanthanam@intel.com>
35 *
36 * credits: Niklas Hallqvist; OpenBSD driver for the ICP Controllers.
37 * Mike Smith; Some driver source code.
38 * FreeBSD.ORG; Great O/S to work on and for.
39 *
40 * TODO:
41 */
42
43#ident "$Id: iir.c 1.3 2003/03/21 16:28:32 achim Exp $"
44#include <sys/cdefs.h>
45__FBSDID("$FreeBSD: head/sys/dev/iir/iir.c 119418 2003-08-24 17:55:58Z obrien $");
46
47#define _IIR_C_
48
49/* #include "opt_iir.h" */
50#include <sys/param.h>
51#include <sys/systm.h>
52#include <sys/endian.h>
53#include <sys/eventhandler.h>

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

1453 cpi->max_target = GDT_MAXID - 1;
1454 cpi->max_lun = 7;
1455 cpi->unit_number = cam_sim_unit(sim);
1456 cpi->bus_id = bus;
1457 cpi->initiator_id =
1458 (bus == gdt->sc_virt_bus ? 127 : gdt->sc_bus_id[bus]);
1459 cpi->base_transfer_speed = 3300;
1460 strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
1461 strncpy(cpi->hba_vid, "Intel Corp.", HBA_IDLEN);
1462 strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
1463 cpi->ccb_h.status = CAM_REQ_CMP;
1464 --gdt_stat.io_count_act;
1465 xpt_done(ccb);
1466 break;
1467 }
1468 default:
1469 GDT_DPRINTF(GDT_D_INVALID, ("gdt_next(%p) cmd 0x%x invalid\n",

--- 564 unchanged lines hidden ---