Deleted Added
full compact
ciss.c (230588) ciss.c (232854)
1/*-
2 * Copyright (c) 2001 Michael Smith
3 * Copyright (c) 2004 Paul Saab
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
1/*-
2 * Copyright (c) 2001 Michael Smith
3 * Copyright (c) 2004 Paul Saab
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
27 * $FreeBSD: head/sys/dev/ciss/ciss.c 230588 2012-01-26 17:04:17Z sbruno $
27 * $FreeBSD: head/sys/dev/ciss/ciss.c 232854 2012-03-12 08:03:51Z scottl $
28 */
29
30/*
31 * Common Interface for SCSI-3 Support driver.
32 *
33 * CISS claims to provide a common interface between a generic SCSI
34 * transport and an intelligent host adapter.
35 *

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

791
792 /*
793 * Allocate the parent bus DMA tag appropriate for our PCI
794 * interface.
795 *
796 * Note that "simple" adapters can only address within a 32-bit
797 * span.
798 */
28 */
29
30/*
31 * Common Interface for SCSI-3 Support driver.
32 *
33 * CISS claims to provide a common interface between a generic SCSI
34 * transport and an intelligent host adapter.
35 *

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

791
792 /*
793 * Allocate the parent bus DMA tag appropriate for our PCI
794 * interface.
795 *
796 * Note that "simple" adapters can only address within a 32-bit
797 * span.
798 */
799 if (bus_dma_tag_create(NULL, /* parent */
799 if (bus_dma_tag_create(bus_get_dma_tag(sc->ciss_dev),/* PCI parent */
800 1, 0, /* alignment, boundary */
801 BUS_SPACE_MAXADDR, /* lowaddr */
802 BUS_SPACE_MAXADDR, /* highaddr */
803 NULL, NULL, /* filter, filterarg */
804 BUS_SPACE_MAXSIZE_32BIT, /* maxsize */
805 CISS_MAX_SG_ELEMENTS, /* nsegments */
806 BUS_SPACE_MAXSIZE_32BIT, /* maxsegsize */
807 0, /* flags */

--- 3852 unchanged lines hidden ---
800 1, 0, /* alignment, boundary */
801 BUS_SPACE_MAXADDR, /* lowaddr */
802 BUS_SPACE_MAXADDR, /* highaddr */
803 NULL, NULL, /* filter, filterarg */
804 BUS_SPACE_MAXSIZE_32BIT, /* maxsize */
805 CISS_MAX_SG_ELEMENTS, /* nsegments */
806 BUS_SPACE_MAXSIZE_32BIT, /* maxsegsize */
807 0, /* flags */

--- 3852 unchanged lines hidden ---