Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Define sets of limits (including the set of all limi...
details: https://anonhg.NetBSD.org/src/rev/d2fa8fdf78c7
branches: trunk
changeset: 751178:d2fa8fdf78c7
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Wed Jan 27 04:36:34 2010 +0000
description:
Define sets of limits (including the set of all limits) symbolically.
These will be used in an upcoming change.
No functional change intended.
diffstat:
sys/sys/envsys.h | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r ac509f50bfa5 -r d2fa8fdf78c7 sys/sys/envsys.h
--- a/sys/sys/envsys.h Wed Jan 27 03:56:33 2010 +0000
+++ b/sys/sys/envsys.h Wed Jan 27 04:36:34 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: envsys.h,v 1.27 2010/01/26 14:22:00 pgoyette Exp $ */
+/* $NetBSD: envsys.h,v 1.28 2010/01/27 04:36:34 pgoyette Exp $ */
/*-
* Copyright (c) 1999, 2007 The NetBSD Foundation, Inc.
@@ -173,7 +173,10 @@
#define PROP_RFACT 0x0080
#define PROP_DRIVER_LIMITS 0x8000
-#define PROP_LIMITS 0x003f
+#define PROP_CAP_LIMITS (PROP_BATTCAP | PROP_BATTWARN)
+#define PROP_VAL_LIMITS (PROP_CRITMAX | PROP_CRITMIN | \
+ PROP_WARNMAX | PROP_WARNMIN)
+#define PROP_LIMITS (PROP_CAP_LIMITS | PROP_VAL_LIMITS)
/*
* Compatibility with old interface. Only ENVSYS_GTREDATA
Home |
Main Index |
Thread Index |
Old Index