Date: Wed, 09 Jan 2002 18:30:07 +0100 From: Eric Dahan <ericdahan@MEIway.com> To: freebsd-tokenring@FreeBSD.ORG Subject: Re: RFI - Setting up Token Ring Support in FreeBSD Message-ID: <5.1.0.14.2.20020109182925.02996cd8@ms1.meiway.com>
next in thread | raw e-mail | index | archive | help
--=====================_97177063==_.ALT
Content-Type: text/plain; charset="iso-8859-1"; format=flowed
Content-Transfer-Encoding: quoted-printable
At 15:28 09/01/2002 +0100, you wrote:
>Hello Douglas!
>
>Douglas Cohen wrote:
> > Could someone please point me to information on how to do this? I have=
no
> > problem building a custom kernel; I just need to know what to add (and
> > where) for Token Ring support and for the drivers for Token Ring NICs.
in /usr/scr/sys/i386/conf
modify your kernel file like this :
# Olicom Token RING
device oltr
pseudo-device token
if you have a problem with the "promisc mode" you can disable it at the boot=
:
Modify the source code /usr/src/sys/contrib/dev/oltr/if_oltr.c :
989 * Set promiscious mode for now...
990 */
991 /* TRlldSetPromiscuousMode(sc->TRlldAdapter,=
TRLLD_PROM_LLC);
992 * ifp->if_flags |=3D IFF_PROMISC;
993 */
994 /*
995 * Block on the ring insert and set a timeout
996 */
997 tsleep(sc, PWAIT, "oltropen", 30*hz);
998
999 /*
1000 * Set up receive buffer ring
1001 */
1002 for (i =3D 0; i < RING_BUFFER_LEN; i++) {
AND
config [your Kernel]
make depend
make
make install
Eric
Eric DAHAN.
MEI
25 Avenue des Bretagnes
93230 ROMAINVILLE
Tel : 01.41.71.06.06.
Fax : 01.41.71.06.04.
Centre de formation agr=E9e N=B011752906075
www.meiway.com
Eric DAHAN.
MEI
25 Avenue des Bretagnes
93230 ROMAINVILLE
Tel : 01.41.71.06.06.
Fax : 01.41.71.06.04.
Centre de formation agr=E9e N=B011752906075
www.meiway.com
--=====================_97177063==_.ALT
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
At 15:28 09/01/2002 +0100, you wrote:<br>
<blockquote type=3Dcite class=3Dcite cite>Hello Douglas!<br><br>
Douglas Cohen wrote:<br>
> Could someone please point me to information on how to do
this? I have no<br>
> problem building a custom kernel; I just need to know what to add
(and<br>
> where) for Token Ring support and for the drivers for Token Ring
NICs.</blockquote><br>
in /usr/scr/sys/i386/conf<br><br>
modify your kernel file like this :<br><br>
# Olicom Token RING<br>
device oltr<br>
pseudo-device token<br><br>
if you have a problem with the "promisc mode" you can disable
it at the boot :<br><br>
Modify the source code /usr/src/sys/contrib/dev/oltr/if_oltr.c=20
:<br><br>
<br>
989 * Set
promiscious mode for now...<br>
990 */<br>
991 /*
TRlldSetPromiscuousMode(sc->TRlldAdapter, TRLLD_PROM_LLC);<br>
992 <b>*
ifp->if_flags |=3D IFF_PROMISC;<br>
</b>
993 */<br>
994
/*<br>
995 * Block on the
ring insert and set a timeout<br>
996 */<br>
997
tsleep(sc, PWAIT, "oltropen", 30*hz);<br>
998<br>
999
/*<br>
1000 *
Set up receive buffer ring<br>
1001
*/<br>
1002 for (i
=3D 0; i < RING_BUFFER_LEN; i++) {<br><br>
AND <br><br>
config [your Kernel]<br>
make depend<br>
make<br>
make install <br><br>
Eric<br><br>
<x-sigsep><p></x-sigsep>
Eric DAHAN.<br>
<b>MEI<br>
</b>25 Avenue des Bretagnes<br>
93230 ROMAINVILLE<br>
Tel : 01.41.71.06.06.<br>
Fax : 01.41.71.06.04.<br>
<font size=3D1><b><i>Centre de formation agr=E9e N=B011752906075<br>
</i></b></font><a href=3D"http://www.meiway.com/" eudora=3D"autourl">www.mei=
way.com</a>
<br>
Eric DAHAN.<br>
<b>MEI<br>
</b>25 Avenue des Bretagnes<br>
93230 ROMAINVILLE<br>
Tel : 01.41.71.06.06.<br>
Fax : 01.41.71.06.04.<br>
<font size=3D1><b><i>Centre de formation agr=E9e N=B011752906075<br>
</i></b></font><a href=3D"http://www.meiway.com/" eudora=3D"autourl">www.mei=
way.com</a></html>
--=====================_97177063==_.ALT--
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?5.1.0.14.2.20020109182925.02996cd8>
