aac.c (206534) | aac.c (206540) |
---|---|
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.c 206534 2010-04-13 00:33:07Z emaste $"); | 31__FBSDID("$FreeBSD: head/sys/dev/aac/aac.c 206540 2010-04-13 01:16:15Z emaste $"); |
32 33/* 34 * Driver for the Adaptec 'FSA' family of PCI/SCSI RAID adapters. 35 */ 36#define AAC_DRIVERNAME "aac" 37 38#include "opt_aac.h" 39 --- 1835 unchanged lines hidden (view full) --- 1875 if (sc->flags & AAC_FLAGS_BROKEN_MEMMAP) { 1876 ip->HostPhysMemPages = 1877 (ip->HostPhysMemPages + AAC_PAGE_SIZE) / AAC_PAGE_SIZE; 1878 } 1879 ip->HostElapsedSeconds = time_uptime; /* reset later if invalid */ 1880 1881 ip->InitFlags = 0; 1882 if (sc->flags & AAC_FLAGS_NEW_COMM) { | 32 33/* 34 * Driver for the Adaptec 'FSA' family of PCI/SCSI RAID adapters. 35 */ 36#define AAC_DRIVERNAME "aac" 37 38#include "opt_aac.h" 39 --- 1835 unchanged lines hidden (view full) --- 1875 if (sc->flags & AAC_FLAGS_BROKEN_MEMMAP) { 1876 ip->HostPhysMemPages = 1877 (ip->HostPhysMemPages + AAC_PAGE_SIZE) / AAC_PAGE_SIZE; 1878 } 1879 ip->HostElapsedSeconds = time_uptime; /* reset later if invalid */ 1880 1881 ip->InitFlags = 0; 1882 if (sc->flags & AAC_FLAGS_NEW_COMM) { |
1883 ip->InitFlags = INITFLAGS_NEW_COMM_SUPPORTED; | 1883 ip->InitFlags |= AAC_INITFLAGS_NEW_COMM_SUPPORTED; |
1884 device_printf(sc->aac_dev, "New comm. interface enabled\n"); 1885 } 1886 1887 ip->MaxIoCommands = sc->aac_max_fibs; 1888 ip->MaxIoSize = sc->aac_max_sectors << 9; 1889 ip->MaxFibSize = sc->aac_max_fib_size; 1890 1891 /* --- 1884 unchanged lines hidden --- | 1884 device_printf(sc->aac_dev, "New comm. interface enabled\n"); 1885 } 1886 1887 ip->MaxIoCommands = sc->aac_max_fibs; 1888 ip->MaxIoSize = sc->aac_max_sectors << 9; 1889 ip->MaxFibSize = sc->aac_max_fib_size; 1890 1891 /* --- 1884 unchanged lines hidden --- |