Deleted Added
full compact
aic7xxx_osm.h (102675) aic7xxx_osm.h (103811)
1/*
2 * FreeBSD platform specific driver option settings, data structures,
3 * function declarations and includes.
4 *
5 * Copyright (c) 1994-2001 Justin T. Gibbs.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * $Id: //depot/aic7xxx/freebsd/dev/aic7xxx/aic7xxx_osm.h#10 $
33 *
1/*
2 * FreeBSD platform specific driver option settings, data structures,
3 * function declarations and includes.
4 *
5 * Copyright (c) 1994-2001 Justin T. Gibbs.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * $Id: //depot/aic7xxx/freebsd/dev/aic7xxx/aic7xxx_osm.h#10 $
33 *
34 * $FreeBSD: head/sys/dev/aic7xxx/aic7xxx_osm.h 102675 2002-08-31 06:44:20Z gibbs $
34 * $FreeBSD: head/sys/dev/aic7xxx/aic7xxx_osm.h 103811 2002-09-22 23:03:31Z scottl $
35 */
36
37#ifndef _AIC7XXX_FREEBSD_H_
38#define _AIC7XXX_FREEBSD_H_
39
40#include <opt_aic7xxx.h> /* for config options */
41
42#include <sys/param.h>

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

83
84#include <cam/scsi/scsi_all.h>
85#include <cam/scsi/scsi_message.h>
86
87#ifdef CAM_NEW_TRAN_CODE
88#define AHC_NEW_TRAN_SETTINGS
89#endif /* CAM_NEW_TRAN_CODE */
90
35 */
36
37#ifndef _AIC7XXX_FREEBSD_H_
38#define _AIC7XXX_FREEBSD_H_
39
40#include <opt_aic7xxx.h> /* for config options */
41
42#include <sys/param.h>

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

83
84#include <cam/scsi/scsi_all.h>
85#include <cam/scsi/scsi_message.h>
86
87#ifdef CAM_NEW_TRAN_CODE
88#define AHC_NEW_TRAN_SETTINGS
89#endif /* CAM_NEW_TRAN_CODE */
90
91/*************************** Attachment Bookkeeping ***************************/
92extern devclass_t ahc_devclass;
93
91/****************************** Platform Macros *******************************/
92#define SIM_IS_SCSIBUS_B(ahc, sim) \
93 ((sim) == ahc->platform_data->sim_b)
94#define SIM_CHANNEL(ahc, sim) \
95 (((sim) == ahc->platform_data->sim_b) ? 'B' : 'A')
96#define SIM_SCSI_ID(ahc, sim) \
97 (((sim) == ahc->platform_data->sim_b) ? ahc->our_id_b : ahc->our_id)
98#define SIM_PATH(ahc, sim) \

--- 463 unchanged lines hidden ---
94/****************************** Platform Macros *******************************/
95#define SIM_IS_SCSIBUS_B(ahc, sim) \
96 ((sim) == ahc->platform_data->sim_b)
97#define SIM_CHANNEL(ahc, sim) \
98 (((sim) == ahc->platform_data->sim_b) ? 'B' : 'A')
99#define SIM_SCSI_ID(ahc, sim) \
100 (((sim) == ahc->platform_data->sim_b) ? ahc->our_id_b : ahc->our_id)
101#define SIM_PATH(ahc, sim) \

--- 463 unchanged lines hidden ---