diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-04-09 21:56:41 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-04-09 21:56:41 +0000 |
commit | 090e518be1b71a6c08072fba27d02891ba2296bc (patch) | |
tree | 18cf9ba4e98bef0004599204a43aa6cc2685126c /sys/dev/i2c/sdtemp.c | |
parent | b82a32604f43138785e1bcf5f08d357566539244 (diff) |
support the NPX SE97 too
Diffstat (limited to 'sys/dev/i2c/sdtemp.c')
-rw-r--r-- | sys/dev/i2c/sdtemp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/i2c/sdtemp.c b/sys/dev/i2c/sdtemp.c index 4ba1d3d1a9c..4b0a998d996 100644 --- a/sys/dev/i2c/sdtemp.c +++ b/sys/dev/i2c/sdtemp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sdtemp.c,v 1.1 2008/04/07 01:31:44 deraadt Exp $ */ +/* $OpenBSD: sdtemp.c,v 1.2 2008/04/09 21:56:40 deraadt Exp $ */ /* * Copyright (c) 2008 Theo de Raadt @@ -57,7 +57,8 @@ sdtemp_match(struct device *parent, void *match, void *aux) { struct i2c_attach_args *ia = aux; - if (strcmp(ia->ia_name, "se98") == 0 || + if (strcmp(ia->ia_name, "se97") == 0 || + strcmp(ia->ia_name, "se98") == 0 || strcmp(ia->ia_name, "adt7408") == 0) return (1); return (0); |