Thread: Point-to-Point communication
Brought to you by:
aeb,
bencollins
From: Richard_Harding@Playstation.sony.com - 2000-04-14 01:13:25
|
I'm wondering how to do point-to-point, asynchronous communciation (just send and receive blocks of quadlets) between two computers using lib1394raw? Eventually, I imagine there existing an IP-over-IEEE1394 implementation, but in the meantime how does one go about doing more basic communications between nodes on the bus? I guess my question really boils down to: How does one map the CSR address space into user/application data space? FYI: In case anyone is interested in adaptor compatiblity. I've got a SIIG 3-Port PCI (OHCI) adaptor working under Linux 2.3.99-pre3. Thanks in advance. |
From: Andreas B. <and...@mu...> - 2000-04-14 02:01:56
|
On Thu, Apr 13, 2000 at 06:07:30PM -0700, Richard_Harding@Playstation.sony.com wrote: > I'm wondering how to do point-to-point, asynchronous communciation (just send > and receive blocks of quadlets) between two computers using lib1394raw? > Eventually, I imagine there existing an IP-over-IEEE1394 implementation, but in > the meantime how does one go about doing more basic communications between nodes > on the bus? > > I guess my question really boils down to: How does one map the CSR address > space into user/application data space? Not possible currently, probably not in the future. Requests are processed immediately in the subsystem in interrupt context, there is no chance of asking a user space process what to do in there without serious rewrites. So either give at least one side a kernel driver handling the address space or use the FCP_COMMAND/FCP_RESPONSE registers which are passed on to user space (that's easy for FCP type commands since the response is a completely separate transaction to the command). -- Andreas E. Bombe <and...@mu...> DSA key 0x04880A44 http://home.pages.de/~andreas.bombe/ http://linux1394.sourceforge.net/ |