Module Name: src Committed By: pgoyette Date: Fri Jul 10 15:30:45 UTC 2009
Modified Files: src/sys/dev/i2c: sdtemp.c Log Message: Correct usage of PROP_DRIVER_LIMITS flag To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/i2c/sdtemp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/i2c/sdtemp.c diff -u src/sys/dev/i2c/sdtemp.c:1.6 src/sys/dev/i2c/sdtemp.c:1.7 --- src/sys/dev/i2c/sdtemp.c:1.6 Sun Jun 14 19:44:46 2009 +++ src/sys/dev/i2c/sdtemp.c Fri Jul 10 15:30:45 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: sdtemp.c,v 1.6 2009/06/14 19:44:46 pgoyette Exp $ */ +/* $NetBSD: sdtemp.c,v 1.7 2009/07/10 15:30:45 pgoyette Exp $ */ /* * Copyright (c) 2009 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: sdtemp.c,v 1.6 2009/06/14 19:44:46 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sdtemp.c,v 1.7 2009/07/10 15:30:45 pgoyette Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -310,7 +310,7 @@ struct sdtemp_softc *sc = sme->sme_cookie; uint16_t lim; - limits->sel_flags = PROP_DRIVER_LIMITS; + limits->sel_flags = 0; iic_acquire_bus(sc->sc_tag, 0); if (sdtemp_read_16(sc, SDTEMP_REG_LOWER_LIM, &lim) == 0 && lim != 0) { limits->sel_warnmin = sdtemp_decode_temp(sc, lim);