Fix SET_IID_VAL/SET_BUS_VAL macros to usable.

MFC after:	4 weeks
This commit is contained in:
Matt Jacob 2001-09-04 19:42:13 +00:00
parent df5c1fb10b
commit 2332ac8c61
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83005

View file

@ -333,8 +333,8 @@ typedef struct {
*/
#define GET_IID_VAL(x) (x & 0x3f)
#define GET_BUS_VAL(x) ((x >> 7) & 0x1)
#define SET_IID_VAL(y, x) (y | (x & 0x3f))
#define SET_BUS_VAL(y, x) (y | ((x & 0x1) << 7))
#define SET_IID_VAL(y, x) y = ((y & ~0x3f) | (x & 0x3f))
#define SET_BUS_VAL(y, x) y = ((y & 0x3f) | ((x & 0x1) << 7))
/*
* ct_flags values