summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>1998-03-08 15:04:20 +0000
committerMike Smith <msmith@FreeBSD.org>1998-03-08 15:04:20 +0000
commit130f8c6e143d8eae8b88e209d2a85d5a10ae1b54 (patch)
tree66bd4a6e6dd108750ca243dc5c38bdad50342b4b
parent95f37fa61f0369de0371a6bf8130069d219f5fc6 (diff)
Notes
-rw-r--r--sys/sys/reboot.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/sys/reboot.h b/sys/sys/reboot.h
index 9f854e56ab85..d9678bcf09a1 100644
--- a/sys/sys/reboot.h
+++ b/sys/sys/reboot.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)reboot.h 8.3 (Berkeley) 12/13/94
- * $Id$
+ * $Id: reboot.h,v 1.16 1997/02/22 09:45:45 peter Exp $
*/
#ifndef _SYS_REBOOT_H_
@@ -82,6 +82,9 @@
#define B_CONTROLLERSHIFT 20
#define B_CONTROLLERMASK 0xf
#define B_CONTROLLER(val) (((val)>>B_CONTROLLERSHIFT) & B_CONTROLLERMASK)
+#define B_SLICESHIFT 20
+#define B_SLICEMASK 0xff
+#define B_SLICE(val) (((val)>>B_SLICESHIFT) & B_SLICEMASK)
#define B_UNITSHIFT 16
#define B_UNITMASK 0xf
#define B_UNIT(val) (((val) >> B_UNITSHIFT) & B_UNITMASK)