diff options
author | jkh <jkh@FreeBSD.org> | 1995-01-09 11:38:40 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-01-09 11:38:40 +0000 |
commit | 4fdfd055ce8d0ba4b7a3f4cfb7cda75b10d16f50 (patch) | |
tree | cabcbe606528374aabd6c7679d496d12bdfc1d3a /sys/i386/isa/gsc.c | |
parent | 99804c7d49b385d3701c52c423fb5bd3666dd2f1 (diff) | |
download | FreeBSD-src-4fdfd055ce8d0ba4b7a3f4cfb7cda75b10d16f50.zip FreeBSD-src-4fdfd055ce8d0ba4b7a3f4cfb7cda75b10d16f50.tar.gz |
Add a MIN macro.
Diffstat (limited to 'sys/i386/isa/gsc.c')
-rw-r--r-- | sys/i386/isa/gsc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/i386/isa/gsc.c b/sys/i386/isa/gsc.c index b264220..e6b019f 100644 --- a/sys/i386/isa/gsc.c +++ b/sys/i386/isa/gsc.c @@ -73,6 +73,8 @@ #define lprintf (void) #endif +#define MIN(a, b) (((a) < (b)) ? (a) : (b)) + #define TIMEOUT (hz*15) /* timeout while reading a buffer - default value */ #define LONG (hz/60) /* timesteps while reading a buffer */ #define GSCPRI PRIBIO /* priority while reading a buffer */ |