diff options
-rw-r--r-- | sys/dev/aic7xxx/aic7xxx_freebsd.h | 7 | ||||
-rw-r--r-- | sys/dev/aic7xxx/aic7xxx_osm.h | 7 |
2 files changed, 8 insertions, 6 deletions
diff --git a/sys/dev/aic7xxx/aic7xxx_freebsd.h b/sys/dev/aic7xxx/aic7xxx_freebsd.h index b2bf917..f90caba 100644 --- a/sys/dev/aic7xxx/aic7xxx_freebsd.h +++ b/sys/dev/aic7xxx/aic7xxx_freebsd.h @@ -37,9 +37,6 @@ #ifndef _AIC7XXX_FREEBSD_H_ #define _AIC7XXX_FREEBSD_H_ -#ifdef CAM_NEW_TRAN_CODE -#define AHC_NEW_TRAN_SETTINGS -#endif /* CAM_NEW_TRAN_CODE */ #include <opt_aic7xxx.h> /* for config options */ #ifndef NPCI #include <pci.h> @@ -80,6 +77,10 @@ #include <cam/scsi/scsi_all.h> #include <cam/scsi/scsi_message.h> +#ifdef CAM_NEW_TRAN_CODE +#define AHC_NEW_TRAN_SETTINGS +#endif /* CAM_NEW_TRAN_CODE */ + /****************************** Platform Macros *******************************/ #define SIM_IS_SCSIBUS_B(ahc, sim) \ ((sim) == ahc->platform_data->sim_b) diff --git a/sys/dev/aic7xxx/aic7xxx_osm.h b/sys/dev/aic7xxx/aic7xxx_osm.h index b2bf917..f90caba 100644 --- a/sys/dev/aic7xxx/aic7xxx_osm.h +++ b/sys/dev/aic7xxx/aic7xxx_osm.h @@ -37,9 +37,6 @@ #ifndef _AIC7XXX_FREEBSD_H_ #define _AIC7XXX_FREEBSD_H_ -#ifdef CAM_NEW_TRAN_CODE -#define AHC_NEW_TRAN_SETTINGS -#endif /* CAM_NEW_TRAN_CODE */ #include <opt_aic7xxx.h> /* for config options */ #ifndef NPCI #include <pci.h> @@ -80,6 +77,10 @@ #include <cam/scsi/scsi_all.h> #include <cam/scsi/scsi_message.h> +#ifdef CAM_NEW_TRAN_CODE +#define AHC_NEW_TRAN_SETTINGS +#endif /* CAM_NEW_TRAN_CODE */ + /****************************** Platform Macros *******************************/ #define SIM_IS_SCSIBUS_B(ahc, sim) \ ((sim) == ahc->platform_data->sim_b) |