Deleted Added
full compact
sym_hipd.c (167248) sym_hipd.c (168752)
1/*-
2 * Device driver optimized for the Symbios/LSI 53C896/53C895A/53C1010
3 * PCI-SCSI controllers.
4 *
5 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr>
6 *
7 * This driver also supports the following Symbios/LSI PCI-SCSI chips:
8 * 53C810A, 53C825A, 53C860, 53C875, 53C876, 53C885, 53C895,

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

51 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
52 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
53 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
54 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
55 * SUCH DAMAGE.
56 */
57
58#include <sys/cdefs.h>
1/*-
2 * Device driver optimized for the Symbios/LSI 53C896/53C895A/53C1010
3 * PCI-SCSI controllers.
4 *
5 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr>
6 *
7 * This driver also supports the following Symbios/LSI PCI-SCSI chips:
8 * 53C810A, 53C825A, 53C860, 53C875, 53C876, 53C885, 53C895,

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

51 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
52 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
53 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
54 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
55 * SUCH DAMAGE.
56 */
57
58#include <sys/cdefs.h>
59__FBSDID("$FreeBSD: head/sys/dev/sym/sym_hipd.c 167248 2007-03-05 21:21:03Z thomas $");
59__FBSDID("$FreeBSD: head/sys/dev/sym/sym_hipd.c 168752 2007-04-15 08:49:19Z scottl $");
60
61#define SYM_DRIVER_NAME "sym-1.6.5-20000902"
62
63/* #define SYM_DEBUG_GENERIC_SUPPORT */
64
65#include <sys/param.h>
66
67/*

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

8968 devq = cam_simq_alloc(SYM_CONF_MAX_START);
8969 if (!devq)
8970 goto fail;
8971
8972 /*
8973 * Construct our SIM entry.
8974 */
8975 sim = cam_sim_alloc(sym_action, sym_poll, "sym", np, np->unit,
60
61#define SYM_DRIVER_NAME "sym-1.6.5-20000902"
62
63/* #define SYM_DEBUG_GENERIC_SUPPORT */
64
65#include <sys/param.h>
66
67/*

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

8968 devq = cam_simq_alloc(SYM_CONF_MAX_START);
8969 if (!devq)
8970 goto fail;
8971
8972 /*
8973 * Construct our SIM entry.
8974 */
8975 sim = cam_sim_alloc(sym_action, sym_poll, "sym", np, np->unit,
8976 1, SYM_SETUP_MAX_TAG, devq);
8976 &Giant, 1, SYM_SETUP_MAX_TAG, devq);
8977 if (!sim)
8978 goto fail;
8979 devq = 0;
8980
8981 if (xpt_bus_register(sim, 0) != CAM_SUCCESS)
8982 goto fail;
8983 np->sim = sim;
8984 sim = 0;

--- 726 unchanged lines hidden ---
8977 if (!sim)
8978 goto fail;
8979 devq = 0;
8980
8981 if (xpt_bus_register(sim, 0) != CAM_SUCCESS)
8982 goto fail;
8983 np->sim = sim;
8984 sim = 0;

--- 726 unchanged lines hidden ---