From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,1866b89e059adb03,start X-Google-Attributes: gid1164f8,public From: bradym@mahler.cs.arizona.edu (Brady Montz) Subject: OTTO board device driver Date: 1995/06/08 Message-ID: <3r7o5m$gtv@optima.cs.arizona.edu>#1/1 X-Deja-AN: 104033853 organization: University of Arizona newsgroups: comp.sys.dec I have two turbochannel ATM otto boards, and the SRC version 2.2 OSF/1 device driver. After setting the appropriate things up with ifconfig, OSF/1 is perfectly happily running IP over them. I can also play with the VC's using the program "pvc" which comes with the driver. What I can't do is figure out how to use the device driver myself to send and receive ATM data over the fiber. I would greatly appreciate any advice on how I can access the driver and set up a connection and send data. Here are some of my observations: My hunch from looking at the source code for the driver is that the driver takes ethernet packets, and spits out ATM to the board, and so looks just like a faster ethernet board to whatever's on top of the driver. Is this true? In one of the header files for the driver, there is this comment: /* Structure used to send and receive non-ethernet packets. * To use: * struct ottosndrcv sndrcv; * create a socket: int s = socket (AF_INET, SOCK_DGRAM, 0); * * fill in sndrcv.ifreq.name strcpy (sndrcv.ifreq.name, "otto0"); * fill in the fields sndrcv.length = length of buffer to send/rcv * sndrcv.data = address of buffer * sndrcv.link = 0 or 1 (send only) * do the operation ioctl (s, SIOCOTTOSND, &sndrcv); * or ioctl (s, SIOCOTTORCV, &sndrcv); * * Returns -1 on error, 0 otherwise. * * After successful receive, sndrcv.length contains length of packet, * and sndrcv.link contains link that packet arrived on. but this doesn't work, and the driver ioctl code has no idea what SIOCOTTOSND or SIOCOTTORCV are. I have been told that this might be a remnant of the ottonet2 driver, and that this driver might not support it (well, it does not support it actually). The driver does know what SIOCRPHYSADDR is and I've been able to use that in much the same fashion sa the above example to get the hardware address of the otto board. -- bradym@cs.arizona.edu