From 5b3ab85f111381913434339b2524d48636953572 Mon Sep 17 00:00:00 2001 From: jakllsch Date: Mon, 24 Apr 2017 12:53:28 +0000 Subject: [PATCH] Add PR_PS_ACTIVE_SLOT bits. --- sys/dev/ic/siisatareg.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/dev/ic/siisatareg.h b/sys/dev/ic/siisatareg.h index 16f3047fe4fb..dbf877eb46c1 100644 --- a/sys/dev/ic/siisatareg.h +++ b/sys/dev/ic/siisatareg.h @@ -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 @@ struct siisata_prb { #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)