From owner-freebsd-tokenring Wed Jan 9 9:24:59 2002 Delivered-To: freebsd-tokenring@freebsd.org Received: from mgw1.MEIway.com (mgw1.meiway.com [212.73.210.75]) by hub.freebsd.org (Postfix) with ESMTP id 01CA437B41F for ; Wed, 9 Jan 2002 09:24:53 -0800 (PST) Received: from ms1.meiway.com (ms1.meiway.com [212.73.210.73]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id DFBC816B2B; Wed, 9 Jan 2002 18:24:50 +0100 (CET) Received: from edaport.meiway.com [193.252.44.38] by ms1.meiway.com with ESMTP (SMTPD32-6.06) id A0A31E9703A8; Wed, 09 Jan 2002 18:40:51 +0100 Message-Id: <5.1.0.14.2.20020109180453.02994fb8@ms1.meiway.com> X-Sender: ericdahan@meiway.com@ms1.meiway.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 09 Jan 2002 18:21:07 +0100 To: douglas@newmus.net From: Eric Dahan Subject: Re: RFI - Setting up Token Ring Support in FreeBSD Cc: freebsd-tokenring@freebsd.org In-Reply-To: <3C3C5387.B29240D4@gmx.de> References: <000b01c18b11$42573180$0205a8c0@mm> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_96637447==_.ALT" Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=====================_96637447==_.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 --=====================_96637447==_.ALT Content-Type: text/html; charset="iso-8859-1" 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=20 :


    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.mei= way.com --=====================_96637447==_.ALT-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message