diff options
| author | pgoyette <pgoyette@NetBSD.org> | 2018-02-27 05:55:08 +0000 |
|---|---|---|
| committer | pgoyette <pgoyette@NetBSD.org> | 2018-02-27 05:55:08 +0000 |
| commit | 1313773b986e76b2e1f2fecdf3873bfa820b561a (patch) | |
| tree | fbdbde5332cc713d47fcf0739bfacbe3a00b7c28 /sys/dev | |
| parent | 3cdc042305d495782e2a940d8c5e012b19ce885a (diff) | |
Fix another case of 7-bit right-justified addressing, without write-bit
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/imcsmb/imcsmb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/imcsmb/imcsmb.c b/sys/dev/imcsmb/imcsmb.c index 7b77bf4894b..4060ca890f7 100644 --- a/sys/dev/imcsmb/imcsmb.c +++ b/sys/dev/imcsmb/imcsmb.c @@ -407,10 +407,10 @@ imcsmb_exec(void *cookie, i2c_op_t op, i2c_addr_t addr, const void *cmdbuf, */ if (stat_val & IMCSMB_STATUS_BUS_ERROR_BIT) { /* While it is not documented, empirically, SPD page-change - * commands (writes with DTI = 0x60) always complete with the + * commands (writes with DTI = 0x30) always complete with the * error bit set. So, ignore it in those cases. */ - if ((addr & 0xf0) != 0x60) { + if ((addr & 0x78) != 0x30) { rc = ENODEV; goto out; } |
