svn commit: r260359 - projects/altix2/sys/ia64/sgisn
Marcel Moolenaar
marcel at FreeBSD.org
Sun Jan 5 23:45:54 UTC 2014
Author: marcel
Date: Sun Jan 5 23:45:53 2014
New Revision: 260359
URL: http://svnweb.freebsd.org/changeset/base/260359
Log:
On Altix 450, the PTC register is parameterized with the region ID.
Modified:
projects/altix2/sys/ia64/sgisn/sgisn_shub.h
Modified: projects/altix2/sys/ia64/sgisn/sgisn_shub.h
==============================================================================
--- projects/altix2/sys/ia64/sgisn/sgisn_shub.h Sun Jan 5 23:28:03 2014 (r260358)
+++ projects/altix2/sys/ia64/sgisn/sgisn_shub.h Sun Jan 5 23:45:53 2014 (r260359)
@@ -46,6 +46,6 @@
#define SHUB_MMR_PTC_CFG1 0x101a0080
#define SHUB_MMR_RTC 0x101c0000
#define SHUB_MMR_PIO_WSTAT(x) (0x20070200 + (x) * 0x80) /* 0<=x<4 */
-#define SHUB_MMR_PTC 0x70000000
+#define SHUB_MMR_PTC(rid) (0x70000000 + ((rid) << 4))
#endif /* _IA64_SGISN_SHUB_H_ */
More information about the svn-src-projects
mailing list