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 PR_PS_ACTIVE_SLOT bits.
details: https://anonhg.NetBSD.org/src/rev/cb8f570f3dc2
branches: trunk
changeset: 353224:cb8f570f3dc2
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Mon Apr 24 12:53:28 2017 +0000
description:
Add PR_PS_ACTIVE_SLOT bits.
diffstat:
sys/dev/ic/siisatareg.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 5bfa06aabda0 -r cb8f570f3dc2 sys/dev/ic/siisatareg.h
--- a/sys/dev/ic/siisatareg.h Mon Apr 24 12:52:05 2017 +0000
+++ b/sys/dev/ic/siisatareg.h Mon Apr 24 12:53:28 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: siisatareg.h,v 1.8 2017/04/24 12:52:05 jakllsch Exp $ */
+/* $NetBSD: siisatareg.h,v 1.9 2017/04/24 12:53:28 jakllsch Exp $ */
/*
* Copyright (c) 2007, 2008, 2009, 2010, 2011 Jonathan A. Kollasch.
@@ -247,6 +247,8 @@
#define PR_PC_PMP_ENABLE __BIT(13)
#define PR_PC_AIA __BIT(14)
#define PR_PC_LED_ON __BIT(15)
+#define PR_PS_ACTIVE_SLOT_MASK __BITS(20,16)
+#define PR_PS_ACTIVE_SLOT(x) __SHIFTOUT((x), PR_PS_ACTIVE_SLOT_MASK)
#define PR_PC_OOB_BYPASS __BIT(25)
#define PR_PS_PORT_READY __BIT(31)
Home |
Main Index |
Thread Index |
Old Index