Deleted Added
full compact
aac_pci.c (232260) aac_pci.c (232268)
1/*-
2 * Copyright (c) 2000 Michael Smith
3 * Copyright (c) 2001 Scott Long
4 * Copyright (c) 2000 BSDi
5 * Copyright (c) 2001 Adaptec, Inc.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 */
29
30#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2000 Michael Smith
3 * Copyright (c) 2001 Scott Long
4 * Copyright (c) 2000 BSDi
5 * Copyright (c) 2001 Adaptec, Inc.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 */
29
30#include <sys/cdefs.h>
31__FBSDID("$FreeBSD: head/sys/dev/aac/aac_pci.c 232260 2012-02-28 17:29:31Z emaste $");
31__FBSDID("$FreeBSD: head/sys/dev/aac/aac_pci.c 232268 2012-02-28 19:50:14Z emaste $");
32
33/*
34 * PCI bus interface and resource allocation.
35 */
36
37#include "opt_aac.h"
38
39#include <sys/param.h>

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

398 }
399
400 /*
401 * Allocate the parent bus DMA tag appropriate for our PCI interface.
402 *
403 * Note that some of these controllers are 64-bit capable.
404 */
405 if (bus_dma_tag_create(NULL, /* parent */
32
33/*
34 * PCI bus interface and resource allocation.
35 */
36
37#include "opt_aac.h"
38
39#include <sys/param.h>

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

398 }
399
400 /*
401 * Allocate the parent bus DMA tag appropriate for our PCI interface.
402 *
403 * Note that some of these controllers are 64-bit capable.
404 */
405 if (bus_dma_tag_create(NULL, /* parent */
406 PAGE_SIZE, /* alignment */
407 ((bus_size_t)((uint64_t)1 << 32)), /* boundary*/
406 PAGE_SIZE, 0, /* algnmnt, boundary */
408 BUS_SPACE_MAXADDR, /* lowaddr */
409 BUS_SPACE_MAXADDR, /* highaddr */
410 NULL, NULL, /* filter, filterarg */
411 BUS_SPACE_MAXSIZE_32BIT, /* maxsize */
412 BUS_SPACE_UNRESTRICTED, /* nsegments */
413 BUS_SPACE_MAXSIZE_32BIT, /* maxsegsize */
414 0, /* flags */
415 NULL, NULL, /* No locking needed */

--- 106 unchanged lines hidden ---
407 BUS_SPACE_MAXADDR, /* lowaddr */
408 BUS_SPACE_MAXADDR, /* highaddr */
409 NULL, NULL, /* filter, filterarg */
410 BUS_SPACE_MAXSIZE_32BIT, /* maxsize */
411 BUS_SPACE_UNRESTRICTED, /* nsegments */
412 BUS_SPACE_MAXSIZE_32BIT, /* maxsegsize */
413 0, /* flags */
414 NULL, NULL, /* No locking needed */

--- 106 unchanged lines hidden ---