Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Feb 2008 13:43:24 +0900
From:      "Hidetoshi Shimokawa" <simokawa@FreeBSD.ORG>
To:        "Sean Bruno" <sbruno@miralink.com>
Cc:        freebsd-firewire@freebsd.org
Subject:   Re: Implementation of the AGENT_STATE Register
Message-ID:  <626eb4530802042043t3e0ce8d1l83f64b2d3ea48b1c@mail.gmail.com>
In-Reply-To: <47A7E550.7060500@miralink.com>
References:  <47A79E13.5040706@miralink.com> <626eb4530802042020n78001c00kddbdedb907902691@mail.gmail.com> <47A7E550.7060500@miralink.com>

index | next in thread | previous in thread | raw e-mail

O.K. I checked the specification.
AGENT_STATE is a register. So you have to respond with a read response packet
rather than a write request packet.
A response packet should be sent via fw_asyreq() with a tcode FWTCODE_RRES*.

On Feb 5, 2008 1:25 PM, Sean Bruno <sbruno@miralink.com> wrote:
> Hidetoshi Shimokawa wrote:
> > I think you can send async. packets using fwmem_write_* functions.
> >
> > On Feb 5, 2008 8:21 AM, Sean Bruno <sbruno@miralink.com> wrote:
> >
> >> Hidetoshi:
> >>
> >> I'm attempting to implement the AGENT_STATE register in sbp_targ.
> >> Somehow, I can't understand how to sent the agent state back to the
> >> initiator.
> >>
> >> I am processing the request, but I am really unsure how to return the
> >> state(what function calls?).
> >>
> >> Sean
> >>
> >>
> >>
> >
> >
> >
> >
> I think I am confused by the specification.  Where does the AGENT_STATE
> need to be written to?
>
> Sean
>
>



-- 
/\ Hidetoshi Shimokawa
\/  simokawa@FreeBSD.ORG


help

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