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

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

9447 int err, s;
9448
9449 s = splcam();
9450
9451 /*
9452 * Establish our interrupt handler.
9453 */
9454#ifdef FreeBSD_Bus_Io_Abstraction
1/*
2 * Device driver optimized for the Symbios/LSI 53C896/53C895A/53C1010
3 * PCI-SCSI controllers.
4 *
5 * Copyright (C) 1999-2000 Gerard Roudier <groudier@club-internet.fr>
6 *
7 * This driver also supports the following Symbios/LSI PCI-SCSI chips:
8 * 53C810A, 53C825A, 53C860, 53C875, 53C876, 53C885, 53C895,

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

9447 int err, s;
9448
9449 s = splcam();
9450
9451 /*
9452 * Establish our interrupt handler.
9453 */
9454#ifdef FreeBSD_Bus_Io_Abstraction
9455 err = bus_setup_intr(np->device, np->irq_res, INTR_TYPE_CAM,
9456 sym_intr, np, &np->intr);
9455 err = bus_setup_intr(np->device, np->irq_res,
9456 INTR_TYPE_CAM | INTR_ENTROPY, sym_intr, np,
9457 &np->intr);
9457 if (err) {
9458 device_printf(np->device, "bus_setup_intr() failed: %d\n",
9459 err);
9460 goto fail;
9461 }
9462#else
9463 err = 0;
9464 if (!pci_map_int (np->pci_tag, sym_intr, np, &cam_imask)) {

--- 765 unchanged lines hidden ---
9458 if (err) {
9459 device_printf(np->device, "bus_setup_intr() failed: %d\n",
9460 err);
9461 goto fail;
9462 }
9463#else
9464 err = 0;
9465 if (!pci_map_int (np->pci_tag, sym_intr, np, &cam_imask)) {

--- 765 unchanged lines hidden ---