From owner-freebsd-hardware@FreeBSD.ORG Mon Dec 1 09:26:46 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C9421065673; Mon, 1 Dec 2008 09:26:46 +0000 (UTC) (envelope-from rink@rink.nu) Received: from mx1.rink.nu (gloom.rink.nu [213.34.49.2]) by mx1.freebsd.org (Postfix) with ESMTP id 1AB458FC17; Mon, 1 Dec 2008 09:26:46 +0000 (UTC) (envelope-from rink@rink.nu) Received: from localhost (localhost [127.0.0.1]) by mx1.rink.nu (Postfix) with ESMTP id F2C356D43B; Mon, 1 Dec 2008 10:27:23 +0100 (CET) X-Virus-Scanned: amavisd-new at rink.nu Received: from mx1.rink.nu ([213.34.49.2]) by localhost (gloom.rink.nu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9BpbvqcY3HfE; Mon, 1 Dec 2008 10:27:20 +0100 (CET) Received: by mx1.rink.nu (Postfix, from userid 1000) id AB1556D439; Mon, 1 Dec 2008 10:27:20 +0100 (CET) Date: Mon, 1 Dec 2008 10:27:20 +0100 From: Rink Springer To: Won De Erick Message-ID: <20081201092720.GB99082@rink.nu> References: <547602.79284.qm@web45809.mail.sp1.yahoo.com> <4933A29B.8060907@gmx.de> <20081201090421.GA99082@rink.nu> <611173.7111.qm@web45805.mail.sp1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <611173.7111.qm@web45805.mail.sp1.yahoo.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Christoph Mallon , freebsd-hackers@freebsd.org, Rink Springer , freebsd-hardware@freebsd.org Subject: Re: Watchdog for Boser (HS-7001) X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2008 09:26:46 -0000 On Mon, Dec 01, 2008 at 01:20:14AM -0800, Won De Erick wrote: > Besides, I can see the following at /dev > crw------- 1 root wheel 0, 16 Nov 27 01:53 io > > How should I make this open? do i need to %include this? No, you need to invoke an open syscall just in the same way you did the previous system call. Try looking at http://goodfellas.shellcode.com.ar/docz/asm/aslenguage.html, which is a tutorial for exactly this sort of thing. You don't have to read or write to it; just opening it is enough to get the I/O access you need. Regards, -- Rink P.W. Springer - http://rink.nu "Anyway boys, this is America. Just because you get more votes doesn't mean you win." - Fox Mulder > > > > -- > > Rink P.W. Springer - http://rink.nu > > "Anyway boys, this is America. Just because you get more votes doesn't > > mean you win." - Fox Mulder > > > > > > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"