diff options
| author | Andreas Tobler <andreast@FreeBSD.org> | 2010-12-10 20:27:50 +0000 |
|---|---|---|
| committer | Andreas Tobler <andreast@FreeBSD.org> | 2010-12-10 20:27:50 +0000 |
| commit | 7cea3d952b7b8ee48d29d0b77e0d29a064593506 (patch) | |
| tree | 098292e17799cdb67f2f7c5f1189e981fd541173 /sys/dev/iicbus/ds1775.c | |
| parent | 61faa8d87dbfa11c306aaec56175be340c417f10 (diff) | |
Notes
Diffstat (limited to 'sys/dev/iicbus/ds1775.c')
| -rw-r--r-- | sys/dev/iicbus/ds1775.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/iicbus/ds1775.c b/sys/dev/iicbus/ds1775.c index f066f2a887e5..6fa111002358 100644 --- a/sys/dev/iicbus/ds1775.c +++ b/sys/dev/iicbus/ds1775.c @@ -127,14 +127,15 @@ ds1775_probe(device_t dev) return (ENXIO); if (strcmp(name, "temp-monitor") != 0 || - strcmp(compatible, "ds1775") != 0) + (strcmp(compatible, "ds1775") != 0 && + strcmp(compatible, "lm75") != 0)) return (ENXIO); sc = device_get_softc(dev); sc->sc_dev = dev; sc->sc_addr = iicbus_get_addr(dev); - device_set_desc(dev, "Temp-Monitor DS1755"); + device_set_desc(dev, "Temp-Monitor DS1775"); return (0); } |
