Date: Sat, 27 Jun 1998 15:50:56 -0400 (EDT) From: "Larry S. Lile" <lile@stdio.com> To: tokenring@FreeBSD.ORG Subject: Sample token ring driver source from IBM Message-ID: <Pine.SUN.3.91.980627155011.13095E-101000@heathers2.stdio.com>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Well after several hours of abusing www.*.ibm.com I finally found some
sample source for a token ring driver at IBM. I was actually looking
for contact information for developers, oops. I thought it might
be of intrest to others, since the Mach code is a little ugly.
On another note, development continues:
># ifconfig tok0 10.0.0.1 netmask 255.255.255.0
>tok: tok_ioctl called.
>tok: SIOCSIFADDR/SIOCGIFADDR
>tok: iso88025_ioctl called.
>tok: SIOCSIFADDR AF_INET if_init
>tok: tok_init called.
>tok: isrp_h 40 isra_l 0.
>tok: Clearing srb.
>tok: Writing open_cmd.
>tok: Interrupting adapter.
>tok: isrp_h 40 isra_l 20.
>tok: SIOCSIFADDR AF_INET arp_ifinit
>tok0: iso88025_output called.
>tok: tok_start called.
>tok: tok_init called.
>tok: isrp_h 40 isra_l 0.
>tok: isrp_h 40 isra_l 0.
[mau goes *CLICK*]
>tok0: Interrupt received.
>tok0: interrupt received (isrp_l = 20).
>tok0: Open adapter SRB response.
>tok0: SRB [0x3] (rc=0x0 codes[0x0 0x0]).
>tok0: Opening sap type aa (srb 0xf00e583f).
>tok0: adapter operation timeout.
>tok: isrp_h 42 isra_l 0.
>tok: tok_ioctl called.
[voice-over "HOUSTON, we have entered the ring!"]
Okay so its a little victory, but I like it none the less. :)
Larry Lile
lile@stdio.com
[-- Attachment #2 --]
G5 <ioȒ #: #%,{M]Zm"BJNA-0E2<oUulg"Y]WMYtݷotoyw_ ~2_I%
`8vn.b~º?3e%(!u{_[f,M$+[܄6C{]vkw{{;
xHaiGCf5D7<4/<xDq<xdc@Ӎ¹lf)Ox)=/KD|Fg; ;NxÔ#$Ȝ8nf;~lGqG! M@F;^d|Sf-tp<Cl踗$?xc `q5$֙N"PAaf@w3^68]"ʢ{~Q'-G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