Deleted Added
full compact
iir_ctrl.c (193396) iir_ctrl.c (200045)
1/*-
2 * Copyright (c) 2000-03 ICP vortex GmbH
3 * Copyright (c) 2002-03 Intel Corporation
4 * Copyright (c) 2003 Adaptec Inc.
5 * All Rights Reserved
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

34 *
35 * Written by: Achim Leubner <achim_leubner@adaptec.com>
36 * Fixes/Additions: Boji Tony Kannanthanam <boji.t.kannanthanam@intel.com>
37 *
38 * $Id: iir_ctrl.c 1.3 2003/08/26 12:31:15 achim Exp $"
39 */
40
41#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2000-03 ICP vortex GmbH
3 * Copyright (c) 2002-03 Intel Corporation
4 * Copyright (c) 2003 Adaptec Inc.
5 * All Rights Reserved
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

34 *
35 * Written by: Achim Leubner <achim_leubner@adaptec.com>
36 * Fixes/Additions: Boji Tony Kannanthanam <boji.t.kannanthanam@intel.com>
37 *
38 * $Id: iir_ctrl.c 1.3 2003/08/26 12:31:15 achim Exp $"
39 */
40
41#include <sys/cdefs.h>
42__FBSDID("$FreeBSD: head/sys/dev/iir/iir_ctrl.c 193396 2009-06-03 20:25:13Z jhb $");
42__FBSDID("$FreeBSD: head/sys/dev/iir/iir_ctrl.c 200045 2009-12-02 20:24:37Z marcel $");
43
44#include <sys/param.h>
45#include <sys/systm.h>
46#include <sys/endian.h>
47#include <sys/malloc.h>
48#include <sys/kernel.h>
49#include <sys/uio.h>
50#include <sys/conf.h>
51#include <sys/disk.h>
52#include <sys/stat.h>
53#include <sys/disklabel.h>
43
44#include <sys/param.h>
45#include <sys/systm.h>
46#include <sys/endian.h>
47#include <sys/malloc.h>
48#include <sys/kernel.h>
49#include <sys/uio.h>
50#include <sys/conf.h>
51#include <sys/disk.h>
52#include <sys/stat.h>
53#include <sys/disklabel.h>
54#include <sys/sysctl.h>
54#include <machine/bus.h>
55
56#include <dev/iir/iir.h>
57
58/* Entry points and other prototypes */
59static struct gdt_softc *gdt_minor2softc(int minor_no);
60
61static d_open_t iir_open;

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

78
79/*
80static int iir_devsw_installed = 0;
81*/
82#ifndef SDEV_PER_HBA
83static int sdev_made = 0;
84#endif
85extern int gdt_cnt;
55#include <machine/bus.h>
56
57#include <dev/iir/iir.h>
58
59/* Entry points and other prototypes */
60static struct gdt_softc *gdt_minor2softc(int minor_no);
61
62static d_open_t iir_open;

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

79
80/*
81static int iir_devsw_installed = 0;
82*/
83#ifndef SDEV_PER_HBA
84static int sdev_made = 0;
85#endif
86extern int gdt_cnt;
86extern char ostype[];
87extern char osrelease[];
88extern gdt_statist_t gdt_stat;
89
90/*
91 * Given a controller number,
92 * make a special device and return the dev_t
93 */
94struct cdev *
95gdt_make_dev(int unit)

--- 285 unchanged lines hidden ---
87extern gdt_statist_t gdt_stat;
88
89/*
90 * Given a controller number,
91 * make a special device and return the dev_t
92 */
93struct cdev *
94gdt_make_dev(int unit)

--- 285 unchanged lines hidden ---