Re: Implementation of the AGENT_STATE Register

"Hidetoshi Shimokawa" <[email protected]>
Newsgroups gmane.os.freebsd.devel.firewire
Message-ID <[email protected]>
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 <[email protected]> wrote:
> Hidetoshi Shimokawa wrote:
> > I think you can send async. packets using fwmem_write_* functions.
> >
> > On Feb 5, 2008 8:21 AM, Sean Bruno <[email protected]> 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
\/  [email protected]
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-firewire
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.