Deleted Added
full compact
hptnr_osm_bsd.c (256281) hptnr_osm_bsd.c (270810)
1/* $Id: osm_bsd.c,v 1.36 2010/05/11 03:12:11 lcn Exp $ */
2/*-
3 * HighPoint RAID Driver for FreeBSD
4 * Copyright (C) 2005-2011 HighPoint Technologies, 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

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

20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
1/* $Id: osm_bsd.c,v 1.36 2010/05/11 03:12:11 lcn Exp $ */
2/*-
3 * HighPoint RAID Driver for FreeBSD
4 * Copyright (C) 2005-2011 HighPoint Technologies, 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

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

20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
28 * $FreeBSD: stable/10/sys/dev/hptnr/hptnr_osm_bsd.c 255871 2013-09-25 17:16:21Z scottl $
28 * $FreeBSD: stable/10/sys/dev/hptnr/hptnr_osm_bsd.c 270810 2014-08-29 13:06:30Z delphij $
29 */
30#include <dev/hptnr/hptnr_config.h>
31#include <dev/hptnr/os_bsd.h>
32#include <dev/hptnr/hptintf.h>
33
34static int hpt_probe(device_t dev)
35{
36 PCI_ID pci_id;

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

542 ccb->ccb_h.status = CAM_TID_INVALID;
543 xpt_done(ccb);
544 return;
545 }
546
547 vd = ldm_find_target(vbus, ccb->ccb_h.target_id);
548
549 if (!vd) {
29 */
30#include <dev/hptnr/hptnr_config.h>
31#include <dev/hptnr/os_bsd.h>
32#include <dev/hptnr/hptintf.h>
33
34static int hpt_probe(device_t dev)
35{
36 PCI_ID pci_id;

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

542 ccb->ccb_h.status = CAM_TID_INVALID;
543 xpt_done(ccb);
544 return;
545 }
546
547 vd = ldm_find_target(vbus, ccb->ccb_h.target_id);
548
549 if (!vd) {
550 ccb->ccb_h.status = CAM_TID_INVALID;
550 ccb->ccb_h.status = CAM_SEL_TIMEOUT;
551 xpt_done(ccb);
552 return;
553 }
554
555 switch (cdb[0]) {
556 case TEST_UNIT_READY:
557 case START_STOP_UNIT:
558 case SYNCHRONIZE_CACHE:

--- 803 unchanged lines hidden ---
551 xpt_done(ccb);
552 return;
553 }
554
555 switch (cdb[0]) {
556 case TEST_UNIT_READY:
557 case START_STOP_UNIT:
558 case SYNCHRONIZE_CACHE:

--- 803 unchanged lines hidden ---