Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Add in ISP_SWIZZLE_CONTINUATION macro.



details:   https://anonhg.NetBSD.org/src/rev/5b5cb1c0c99a
branches:  trunk
changeset: 482670:5b5cb1c0c99a
user:      mjacob <mjacob%NetBSD.org@localhost>
date:      Sat Feb 19 01:51:21 2000 +0000

description:
Add in ISP_SWIZZLE_CONTINUATION macro.

diffstat:

 sys/dev/ic/isp_netbsd.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 00856314046b -r 5b5cb1c0c99a sys/dev/ic/isp_netbsd.h
--- a/sys/dev/ic/isp_netbsd.h   Sat Feb 19 01:50:57 2000 +0000
+++ b/sys/dev/ic/isp_netbsd.h   Sat Feb 19 01:51:21 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: isp_netbsd.h,v 1.21 1999/12/20 00:37:49 mjacob Exp $ */
+/* $NetBSD: isp_netbsd.h,v 1.22 2000/02/19 01:51:21 mjacob Exp $ */
 /*
  * NetBSD Specific definitions for the Qlogic ISP Host Adapter
  * Matthew Jacob <mjacob%nas.nasa.gov@localhost>
@@ -206,12 +206,14 @@
         bcopy(src, dest, sizeof (isp_pdb_t))
 #define ISP_SWIZZLE_ICB(a, b)
 #ifdef __sparc__
+#define        ISP_SWIZZLE_CONTINUATION(a, b)  ISP_SBUSIFY_ISPHDR(a, &(b)->req_header)
 #define ISP_SWIZZLE_REQUEST(a, b)                      \
        ISP_SBUSIFY_ISPHDR(a, &(b)->req_header);        \
         ISP_SBUSIFY_ISPREQ(a, b)
 #define ISP_UNSWIZZLE_RESPONSE(a, b)                   \
        ISP_SBUSIFY_ISPHDR(a, &(b)->req_header)
 #else
+#define        ISP_SWIZZLE_CONTINUATION(a, b)
 #define ISP_SWIZZLE_REQUEST(a, b)
 #define ISP_UNSWIZZLE_RESPONSE(a, b)
 #endif



Home | Main Index | Thread Index | Old Index