Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/dev fix tpyos and pastos
details: https://anonhg.NetBSD.org/src/rev/4573bd4028d3
branches: trunk
changeset: 358035:4573bd4028d3
user: macallan <macallan%NetBSD.org@localhost>
date: Fri Dec 08 22:28:54 2017 +0000
description:
fix tpyos and pastos
diffstat:
sys/arch/sparc/dev/sxreg.h | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (23 lines):
diff -r dddd9b64cac0 -r 4573bd4028d3 sys/arch/sparc/dev/sxreg.h
--- a/sys/arch/sparc/dev/sxreg.h Fri Dec 08 21:52:21 2017 +0000
+++ b/sys/arch/sparc/dev/sxreg.h Fri Dec 08 22:28:54 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sxreg.h,v 1.15 2017/12/07 19:15:56 macallan Exp $ */
+/* $NetBSD: sxreg.h,v 1.16 2017/12/08 22:28:54 macallan Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -293,9 +293,9 @@
/* MISC group */
#define SX_GTHR (3 << 21) /* sa with spacing sb -> d */
#define SX_SCTR (2 << 21) /* sa -> d with spacing sb */
-#define SX_GATHER(sa, sb, d, cnt) (0xe0000000 | ((cnt << 24) | SX_GTHR | \
- ((sa) << 14) | ((d << 7) | (sb))
-#define SX_SCATTER(sa, sb, d, cnt) (0xe0000000 | ((cnt << 24) | SX_SCRT | \
- ((sa) << 14) | ((d << 7) | (sb))
+#define SX_GATHER(sa, sb, d, cnt) (0xe0000000 | ((cnt) << 24) | SX_GTHR | \
+ ((sa) << 14) | ((d) << 7) | (sb))
+#define SX_SCATTER(sa, sb, d, cnt) (0xe0000000 | ((cnt) << 24) | SX_SCTR | \
+ ((sa) << 14) | ((d) << 7) | (sb))
#endif /* SXREG_H */
Home |
Main Index |
Thread Index |
Old Index