From 51579ee9d29141bd464b030f898a97a3862cbf82 Mon Sep 17 00:00:00 2001 From: mjacob Date: Sun, 18 Jun 2000 04:47:12 +0000 Subject: Roll platform minor number. Force definition of SCSI_ISP_FABRIC (we always support fabric now). Remove SCCLUN definition (we always support SCCLUN now, if we load the f/w). Add typedef definition of an external firmware fetch function. --- sys/dev/isp/isp_freebsd.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'sys') diff --git a/sys/dev/isp/isp_freebsd.h b/sys/dev/isp/isp_freebsd.h index e1b6bc5..da763ec 100644 --- a/sys/dev/isp/isp_freebsd.h +++ b/sys/dev/isp/isp_freebsd.h @@ -35,7 +35,7 @@ #define _ISP_FREEBSD_H #define ISP_PLATFORM_VERSION_MAJOR 5 -#define ISP_PLATFORM_VERSION_MINOR 1 +#define ISP_PLATFORM_VERSION_MINOR 2 #include @@ -62,15 +62,11 @@ #include "opt_ddb.h" #include "opt_isp.h" -#ifdef SCSI_ISP_FABRIC +/* + * We are now always supporting fabric mode. + */ #define ISP2100_FABRIC 1 #define ISP2100_SCRLEN 0x400 -#else -#define ISP2100_SCRLEN 0x100 -#endif -#ifdef SCSI_ISP_SCCLUN -#define ISP2100_SCCLUN 1 -#endif #ifndef SCSI_CHECK #define SCSI_CHECK SCSI_STATUS_CHECK_COND @@ -83,6 +79,7 @@ #endif #define ISP_SCSI_XFER_T struct ccb_scsiio +typedef void ispfwfunc __P((int, int, int, const u_int16_t **)); #ifdef ISP_TARGET_MODE typedef struct tstate { @@ -258,3 +255,4 @@ extern void isp_uninit(struct ispsoftc *); #define INLINE __inline #include #endif /* _ISP_FREEBSD_H */ + -- cgit v1.1