Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Apr 1998 08:59:47 -0400 (EDT)
From:      "Larry S. Lile" <lile@stdio.com>
To:        "Matthew N. Dodd" <winter@jurai.net>
Cc:        tokenring@FreeBSD.ORG
Subject:   Re: code updated
Message-ID:  <Pine.SUN.3.91.980422084236.21004A-100000@heathers2.stdio.com>
In-Reply-To: <Pine.BSF.3.96.980422000801.523p-100000@sasami.jurai.net>

next in thread | previous in thread | raw e-mail | index | archive | help


Went and looked at the code it looks ok except for a few minor things.

> /* do we need a driver callback to frob MTU when/if it changes? */
>         ifp->if_mtu=1492;  /* Should be TOKENMTU or ISO88025MTU */

We should make that:
        ifp->if_mtu=ISO88025MTU;

> /* 1mb hardware never left the labs */
>         if (ifp->if_baudrate == 0)
>                 ifp->if_baudrate = 16000000; /* 1, 4, or 16Mbit default? */

Do we have any concensus on what the default badrate should be?

> /*
>  * this following bit disagrees with both fddi and ethernet examples 
>  * fix it eventually
>  */
>         for (ifa = ifp->if_addrlist; ifa; ifa = ifa->ifa_next)
> 
>                 if ((sdl = (struct sockaddr_dl *)ifa->ifa_addr) &&
[snip]
I took that code directly from /sys/net/if_ethersubr.c and changed to 
constants to what seemed the appropriate ISO88025 couterparts.  What
is the disagreement?

Did the iso88025_ioctl get pulled from if_tok.c?  Because if it did
I just wanted to warn everybody that for some reason I have not pinned
down (lack of time) it causes ifconfig to panic my machine.  Any clues
on what migh be causing it, or is it a lack of code elsewhere (tok_start,
tok_init, ...) ?


Also I should be putting out a first effort at a /sys/net/is088025.h
shortly which should contain most of the constants and such for 802.5.

Larry
lile@stdio.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-tokenring" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.980422084236.21004A-100000>