Fix the shift of status bits 2:0 to 11:9 from <<8 to <<9.
authorkrw <krw@openbsd.org>
Mon, 11 Dec 2023 14:27:09 +0000 (14:27 +0000)
committerkrw <krw@openbsd.org>
Mon, 11 Dec 2023 14:27:09 +0000 (14:27 +0000)
commitb798bbb23e737448df52c9b02a63ac0d6540c35a
tree92c6e73325b19c71105e64811e831ca1d1b01cc8
parent63a0cdec4911b5e0b1d5553eafae7dc07637fec4
Fix the shift of status bits 2:0 to 11:9 from <<8 to <<9.

Fix the mask of shifted 8 bit field from 0x7f to 0xff.

Allows proper decoding of status fields SCT and SC.

From mlelstv@netbsd via NetBSD.

ok miod@
sys/dev/ic/nvmereg.h