summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp/isp_freebsd.h
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2000-06-18 04:47:12 +0000
committermjacob <mjacob@FreeBSD.org>2000-06-18 04:47:12 +0000
commit51579ee9d29141bd464b030f898a97a3862cbf82 (patch)
tree05f669d59305b18ca3933edc1dd0b80b9d90a8c2 /sys/dev/isp/isp_freebsd.h
parent0e546ae81726788c7f7e6043c3dbee0624d762b8 (diff)
downloadFreeBSD-src-51579ee9d29141bd464b030f898a97a3862cbf82.zip
FreeBSD-src-51579ee9d29141bd464b030f898a97a3862cbf82.tar.gz
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.
Diffstat (limited to 'sys/dev/isp/isp_freebsd.h')
-rw-r--r--sys/dev/isp/isp_freebsd.h14
1 files changed, 6 insertions, 8 deletions
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 <sys/param.h>
@@ -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 <dev/isp/isp_inline.h>
#endif /* _ISP_FREEBSD_H */
+
OpenPOWER on IntegriCloud