diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2019-12-16 19:17:05 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2019-12-16 19:17:05 +0000 |
commit | 84aab810d4b0f6b9233eba1a022d4fc634e1fb3d (patch) | |
tree | dc24326ff1b8f8fbc751501c2d521346f08fb669 /sys | |
parent | e8c9ae539ae11cdaf094b39ee5d19d98d86d971a (diff) |
Extend the expected SPD types to include DDR4 and low-power DDR3 & 4.
OK deraadt@ kettenis@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/i2c/i2c_scan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/i2c/i2c_scan.c b/sys/dev/i2c/i2c_scan.c index ba014344525..d39271383d9 100644 --- a/sys/dev/i2c/i2c_scan.c +++ b/sys/dev/i2c/i2c_scan.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i2c_scan.c,v 1.145 2015/05/29 00:37:10 uebayasi Exp $ */ +/* $OpenBSD: i2c_scan.c,v 1.146 2019/12/16 19:17:04 claudio Exp $ */ /* * Copyright (c) 2005 Theo de Raadt <deraadt@openbsd.org> @@ -1037,7 +1037,7 @@ iic_probe_eeprom(struct device *self, u_int8_t addr) type = iicprobe(0x02); /* limit to SPD types seen in the wild */ - if (type < 4 || type > 11) + if (type < 4 || type > 16) return (name); /* more matching in driver(s) */ |