From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 18 16:06:33 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B15C16A4CE for ; Fri, 18 Mar 2005 16:06:33 +0000 (GMT) Received: from smp500.sitetronics.com (sitetronics.com [82.192.77.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21E9C43D46 for ; Fri, 18 Mar 2005 16:06:33 +0000 (GMT) (envelope-from dodell@offmyserver.com) Received: from localhost.sitetronics.com ([127.0.0.1] helo=smp500.sitetronics.com) by smp500.sitetronics.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.50 (FreeBSD)) id 1DCJya-000IwU-V1 for hackers@freebsd.org; Fri, 18 Mar 2005 17:05:29 +0100 Received: (from dodell@localhost) by smp500.sitetronics.com (8.12.11/8.12.11/Submit) id j2IG5SDX072817 for hackers@freebsd.org; Fri, 18 Mar 2005 17:05:28 +0100 (CET) (envelope-from dodell@offmyserver.com) X-Authentication-Warning: smp500.sitetronics.com: dodell set sender to dodell@offmyserver.com using -f Date: Fri, 18 Mar 2005 17:05:28 +0100 From: "Devon H. O'Dell " To: hackers@freebsd.org Message-ID: <20050318160528.GQ51688@smp500.sitetronics.com> Mail-Followup-To: hackers@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sdEQJo40s7ofW8iR" Content-Disposition: inline User-Agent: Mutt/1.5.8i Subject: Ziatech 5503 watchdog driver X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Mar 2005 16:06:33 -0000 --sdEQJo40s7ofW8iR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hey, I'm busy writing a Ziatech 5503 watchdog driver for FreeBSD (and porting all the watchdog stuff to DragonFly BSD) and Plan 9. For my driver, I have no way to identify that the system has the driver, so I wanted to make it conditional on options ZT5503 existing in the kernel configuration file. I have a couple of related questions: 1) Where in the tree should my zt5503wd.c file be placed? 2) Regarding watchdog.h; this device supports other times than those provided from between 250MS to 256S. Hope nobody minds this changing :). 3) To make sure I understand how this works: o The device is compiled in / loaded o watchdogd is used to tell the system to start the timer o I get a bunch of flags in my eventhandler function's 2nd argument that I can then use to write to my device's registers with the proper information The first and third questions are the most important, I think. --Devon --sdEQJo40s7ofW8iR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCOvxISkf3jVXOdl0RAhJgAJ9jfPZWGFcjRqKQIY2ISi2Wh+Q/OwCgoFGm XwP5SC5Wix/51xnOsW51qxk= =0b+w -----END PGP SIGNATURE----- --sdEQJo40s7ofW8iR--