aic7xxx.c (104071) | aic7xxx.c (104094) |
---|---|
1/* 2 * Core routines and tables shareable across OS platforms. 3 * 4 * Copyright (c) 1994-2002 Justin T. Gibbs. 5 * Copyright (c) 2000-2002 Adaptec Inc. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 25 unchanged lines hidden (view full) --- 34 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 35 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 36 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 37 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 38 * POSSIBILITY OF SUCH DAMAGES. 39 * 40 * $Id: //depot/aic7xxx/aic7xxx/aic7xxx.c#80 $ 41 * | 1/* 2 * Core routines and tables shareable across OS platforms. 3 * 4 * Copyright (c) 1994-2002 Justin T. Gibbs. 5 * Copyright (c) 2000-2002 Adaptec Inc. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 25 unchanged lines hidden (view full) --- 34 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 35 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 36 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 37 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 38 * POSSIBILITY OF SUCH DAMAGES. 39 * 40 * $Id: //depot/aic7xxx/aic7xxx/aic7xxx.c#80 $ 41 * |
42 * $FreeBSD: head/sys/dev/aic7xxx/aic7xxx.c 104071 2002-09-27 23:00:35Z gibbs $ | 42 * $FreeBSD: head/sys/dev/aic7xxx/aic7xxx.c 104094 2002-09-28 17:15:38Z phk $ |
43 */ 44 45#ifdef __linux__ 46#include "aic7xxx_osm.h" 47#include "aic7xxx_inline.h" 48#include "aicasm/aicasm_insformat.h" 49#else 50#include <dev/aic7xxx/aic7xxx_osm.h> --- 1517 unchanged lines hidden (view full) --- 1568#endif 1569 1570/* 1571 * Called when we have an active connection to a target on the bus, 1572 * this function finds the nearest syncrate to the input period limited 1573 * by the capabilities of the bus connectivity of and sync settings for 1574 * the target. 1575 */ | 43 */ 44 45#ifdef __linux__ 46#include "aic7xxx_osm.h" 47#include "aic7xxx_inline.h" 48#include "aicasm/aicasm_insformat.h" 49#else 50#include <dev/aic7xxx/aic7xxx_osm.h> --- 1517 unchanged lines hidden (view full) --- 1568#endif 1569 1570/* 1571 * Called when we have an active connection to a target on the bus, 1572 * this function finds the nearest syncrate to the input period limited 1573 * by the capabilities of the bus connectivity of and sync settings for 1574 * the target. 1575 */ |
1576struct ahc_syncrate * | 1576static struct ahc_syncrate * |
1577ahc_devlimited_syncrate(struct ahc_softc *ahc, 1578 struct ahc_initiator_tinfo *tinfo, 1579 u_int *period, u_int *ppr_options, role_t role) 1580{ 1581 struct ahc_transinfo *transinfo; 1582 u_int maxsync; 1583 1584 if ((ahc->features & AHC_ULTRA2) != 0) { --- 5685 unchanged lines hidden --- | 1577ahc_devlimited_syncrate(struct ahc_softc *ahc, 1578 struct ahc_initiator_tinfo *tinfo, 1579 u_int *period, u_int *ppr_options, role_t role) 1580{ 1581 struct ahc_transinfo *transinfo; 1582 u_int maxsync; 1583 1584 if ((ahc->features & AHC_ULTRA2) != 0) { --- 5685 unchanged lines hidden --- |