diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-06-27 03:39:19 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-06-27 03:39:19 +0000 |
commit | 9da9055bd185987f62057745da55031afbdaf5c6 (patch) | |
tree | 102955c66ae52b7c60da1d330f36c177888810dd /sys/dev/i2o/i2o.h | |
parent | c5f2b0b2644da15cf33ab5f9caff68f4950de21a (diff) |
use I2O_CLASS_MASK and I2O_LCT_ENTRY_TID_MASK instead of magic const, plus a couple of minor knits
Diffstat (limited to 'sys/dev/i2o/i2o.h')
-rw-r--r-- | sys/dev/i2o/i2o.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/i2o/i2o.h b/sys/dev/i2o/i2o.h index 711fae53445..65a6a3c54b5 100644 --- a/sys/dev/i2o/i2o.h +++ b/sys/dev/i2o/i2o.h @@ -1,4 +1,4 @@ -/* $OpenBSD: i2o.h,v 1.2 2001/06/27 02:38:01 mickey Exp $ */ +/* $OpenBSD: i2o.h,v 1.3 2001/06/27 03:39:17 mickey Exp $ */ /* $NetBSD: i2o.h,v 1.3 2001/03/20 13:01:48 ad Exp $ */ /*- @@ -81,6 +81,7 @@ #define I2O_CLASS_FLOPPY_CONTROLLER 0x70 #define I2O_CLASS_FLOPPY_DEVICE 0x71 #define I2O_CLASS_BUS_ADAPTER_PORT 0x80 +#define I2O_CLASS_MASK 0xfff #define I2O_CLASS_ANY 0xffffffff @@ -262,6 +263,7 @@ struct i2o_hrt { struct i2o_lct_entry { u_int16_t entrysize; u_int16_t localtid; /* Bits 0-12 only */ +#define I2O_LCT_ENTRY_TID_MASK 0xfff u_int32_t changeindicator; u_int32_t deviceflags; u_int16_t classid; |