changeset 13638:8dacb0cc3292

2403 pcisch could avoid type promotion Reviewed by: Joshua M. Clulow <josh@sysmgr.org> Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Garrett D'Amore <garrett@nexenta.com> Approved by: Garrett D'Amore <garrett@nexenta.com>
author Richard Lowe <richlowe@richlowe.net>
date Tue, 21 Jun 2011 10:12:15 -0700
parents 739a180bd323
children 4c26102b6754
files usr/src/uts/sun4u/sys/pci/pcisch.h
diffstat 1 files changed, 7 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/sun4u/sys/pci/pcisch.h	Thu Feb 02 20:16:51 2012 +1100
+++ b/usr/src/uts/sun4u/sys/pci/pcisch.h	Tue Jun 21 10:12:15 2011 -0700
@@ -26,8 +26,6 @@
 #ifndef _SYS_PCISCH_H
 #define	_SYS_PCISCH_H
 
-#pragma ident	"%Z%%M%	%I%	%E% SMI"
-
 #ifdef	__cplusplus
 extern "C" {
 #endif
@@ -504,13 +502,13 @@
  */
 #define	TLBTAG_CONTEXT_SHIFT		25
 #define	TLBTAG_ERRSTAT_SHIFT		23
-#define	TLBTAG_CONTEXT_BITS		(0xfffull << TLBTAG_CONTEXT_SHIFT)
-#define	TLBTAG_ERRSTAT_BITS		(0x3ull << TLBTAG_ERRSTAT_SHIFT)
-#define	TLBTAG_ERR_BIT			(0x1ull << 22)
-#define	TLBTAG_WRITABLE_BIT		(0x1ull << 21)
-#define	TLBTAG_STREAM_BIT		(0x1ull << 20)
-#define	TLBTAG_PGSIZE_BIT		(0x1ull << 19)
-#define	TLBTAG_PCIVPN_BITS		0x7ffffull
+#define	TLBTAG_CONTEXT_BITS		(0xffful << TLBTAG_CONTEXT_SHIFT)
+#define	TLBTAG_ERRSTAT_BITS		(0x3ul << TLBTAG_ERRSTAT_SHIFT)
+#define	TLBTAG_ERR_BIT			(0x1ul << 22)
+#define	TLBTAG_WRITABLE_BIT		(0x1ul << 21)
+#define	TLBTAG_STREAM_BIT		(0x1ul << 20)
+#define	TLBTAG_PGSIZE_BIT		(0x1ul << 19)
+#define	TLBTAG_PCIVPN_BITS		0x7fffful
 
 #define	TLBTAG_ERRSTAT_PROT		0
 #define	TLBTAG_ERRSTAT_INVALID		1