Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 May 2004 00:16:39 +0900
From:      Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
To:        Buzz Slye <buzz@gaia.arc.nasa.gov>
Cc:        freebsd-firewire@freebsd.org
Subject:   Re: async bug
Message-ID:  <87vfiphktk.wl@tora.nunu.org>
In-Reply-To: <Pine.GSO.4.58.0405181432030.18744@mono.arc.nasa.gov>
References:  <Pine.GSO.4.58.0405181432030.18744@mono.arc.nasa.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
At Tue, 18 May 2004 14:33:57 -0700 (PDT),
Buzz Slye wrote:
> 
> 
>     The code for the version of 2004/03/28 does not appear to work correctly
>     for an asyncronus request of a single register.
> 
>     (i.e., try:    fwcontrol -b 0)
> 
>      R. E. Slye
>      NASA/Ames

The ioctl(2) interface of /dev/fw0.0 is not well-tested and may
have many bugs. If you need only quad/block read/write request
(without LOCK transaction), /dev/fwmem interface should be
easier to use and well-tested. The souce code of dconschat(8)
is an example of using /dev/fwmem.

/\ Hidetoshi Shimokawa
\/  simokawa@sat.t.u-tokyo.ac.jp
PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87vfiphktk.wl>