Implementation of the AGENT_STATE Register

Hidetoshi Shimokawa simokawa at FreeBSD.ORG
Mon Feb 4 20:43:25 PST 2008


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 at 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 at 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 at FreeBSD.ORG


More information about the freebsd-firewire mailing list