Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 9 Apr 2002 11:02:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 9 Apr 2002 11:02:40 -0400 Received: from ool-182d14cd.dyn.optonline.net ([24.45.20.205]:48903 "HELO osinvestor.com") by vger.kernel.org with SMTP id ; Tue, 9 Apr 2002 11:02:40 -0400 Date: Tue, 9 Apr 2002 11:02:37 -0400 (EDT) From: Rob Radez X-X-Sender: To: Zwane Mwaikambo cc: Corey Minyard , , Alan Cox Subject: Re: Further WatchDog Updates In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 9 Apr 2002, Zwane Mwaikambo wrote: > Did you forget return values? Or perhaps just redeclare those... > Also i don't quite understand the new status reporting you're doing, mind > just explaining it to me a bit? The previous code would tell you wether > the watchdog is enabled/disabled so you can tell wether the timeout period > has passed. Oops, yea, I forgot return values. I'll fix that up. I got rid of sc1200wdt_status because it returns bit 1, which is defined as WDIOF_OVERHEAT I suppose it would be possible to return WDIOF_KEEPALIVEPING instead. So something like if(ret & 0x01) return WDIOF_KEEPALIVEPING;? Regards, Rob Radez - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/