diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-04-20 19:36:33 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-04-20 19:36:33 +0000 |
commit | 5dfc5d39f1a981527169072828955f0a053de6a3 (patch) | |
tree | ccf9d7ba1159b1a4e9ee8cde3959b4ac61546c30 | |
parent | 2d26bdf4095ae0482138dd120c74678ceac5b500 (diff) |
add HPPA_FLEX()
-rw-r--r-- | sys/arch/hppa/include/iomod.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/hppa/include/iomod.h b/sys/arch/hppa/include/iomod.h index 70b414e28ec..ab920c7d014 100644 --- a/sys/arch/hppa/include/iomod.h +++ b/sys/arch/hppa/include/iomod.h @@ -1,4 +1,4 @@ -/* $OpenBSD: iomod.h,v 1.5 1999/02/25 17:25:09 mickey Exp $ */ +/* $OpenBSD: iomod.h,v 1.6 1999/04/20 19:36:32 mickey Exp $ */ /* * Copyright (c) 1990 mt Xinu, Inc. All rights reserved. @@ -97,6 +97,7 @@ #define MAXMODBUS ((int)(FPA_IOMOD)) /* maximum modules/bus */ #define FLEX_MASK 0xFFFC0000 /* (see below) */ +#define HPPA_FLEX(a) (((a) & FLEX_MASK) >> 18) /* size of HPA space for any device */ #define IOMOD_HPASIZE 0x1000 |