From owner-freebsd-tokenring Sun Apr 19 13:19:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA05141 for freebsd-tokenring-outgoing; Sun, 19 Apr 1998 13:19:58 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from sasami.jurai.net (winter@sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA05131 for ; Sun, 19 Apr 1998 20:19:52 GMT (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id QAA22009 for ; Sun, 19 Apr 1998 16:19:51 -0400 (EDT) Date: Sun, 19 Apr 1998 16:19:50 -0400 (EDT) From: "Matthew N. Dodd" To: freebsd-tokenring@FreeBSD.ORG Subject: My status. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ok, I've had a chance to work on a few things this weekend while taking a break from beating on the EISA DPT code have come up with the following: sys/net/if_iso88025subr.c - iso88025_output() and iso88025_input() Stolen shamelessly from if_fddisubr.c and if_ethersubr.c sys/net/if_iso88025subr.h - nothing :) I'm going to go ahead and submit to having some duplicate code for the time being but revisit the way all of the LLC code is handled in ethernet and tokenring at a later time. At that time we will have to address frametype issues. I don't feel tis an issue we need to deal with now. Breaking things up into small manageable chunks and completing them is more important. sys/i386/eisa/if_tce_eisa.c - probe/attach shim for SMC TokenCard Elite sys/i386/eisa/if_tce_eisa.h - EISA specific defines for tce. tce0: at 0x1c00-0x1cff tce0: at 0xde000-0xdffff irq 10 on eisa0 slot 1 Anyhow, I didn't get a whole lot done as I've been tied up debuging the problems I've had with the DPT EISA stuff. I'll finish up sys/net/if_iso88025.* and get the probe attach stuff for the IBM 4/16 Busmaster EISA card working. (I'm doing EISA probe/attach code to make sure I'm not doing anything wrong in the DPT code.) The code we have for the IBM shared memory adapters can move forward now with the assumption that iso88025_output() and iso88025_input() do the right thing. To any of the committers out there, who should I submit my 'finished' code to once I've got it to the point where I feel it can behave in polite company? /* Matthew N. Dodd | A memory retaining a love you had for life winter@jurai.net | As cruel as it seems nothing ever seems to http://www.jurai.net/~winter | go right - FLA M 3.1:53 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Sun Apr 19 15:17:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA24533 for freebsd-tokenring-outgoing; Sun, 19 Apr 1998 15:17:50 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from heathers2.stdio.com (lile@heathers2.stdio.com [199.89.192.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA24469 for ; Sun, 19 Apr 1998 22:16:36 GMT (envelope-from lile@stdio.com) Received: (from lile@localhost) by heathers2.stdio.com (8.8.8/8.8.8) id SAA15593; Sun, 19 Apr 1998 18:14:23 -0400 (EDT) Date: Sun, 19 Apr 1998 18:14:22 -0400 (EDT) From: "Larry S. Lile" To: freebsd-tokenring@FreeBSD.ORG Subject: Re: My status. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Why don't you post the code so we can take a look while we wait for it to get committed? Larry lile@stdio.com On Sun, 19 Apr 1998, Matthew N. Dodd wrote: > > Ok, I've had a chance to work on a few things this weekend while taking a > break from beating on the EISA DPT code have come up with the following: > > sys/net/if_iso88025subr.c - iso88025_output() and iso88025_input() > Stolen shamelessly from if_fddisubr.c > and if_ethersubr.c > sys/net/if_iso88025subr.h - nothing :) > > I'm going to go ahead and submit to having some duplicate code for the > time being but revisit the way all of the LLC code is handled in ethernet > and tokenring at a later time. At that time we will have to address > frametype issues. I don't feel tis an issue we need to deal with now. > Breaking things up into small manageable chunks and completing them is > more important. > > sys/i386/eisa/if_tce_eisa.c - probe/attach shim for SMC TokenCard Elite > sys/i386/eisa/if_tce_eisa.h - EISA specific defines for tce. > > tce0: at 0x1c00-0x1cff > tce0: at 0xde000-0xdffff irq 10 on eisa0 slot 1 > > Anyhow, I didn't get a whole lot done as I've been tied up debuging the > problems I've had with the DPT EISA stuff. > > I'll finish up sys/net/if_iso88025.* and get the probe attach stuff for > the IBM 4/16 Busmaster EISA card working. (I'm doing EISA probe/attach > code to make sure I'm not doing anything wrong in the DPT code.) > > The code we have for the IBM shared memory adapters can move forward now > with the assumption that iso88025_output() and iso88025_input() do the > right thing. > > To any of the committers out there, who should I submit my 'finished' code > to once I've got it to the point where I feel it can behave in polite > company? > > /* > Matthew N. Dodd | A memory retaining a love you had for life > winter@jurai.net | As cruel as it seems nothing ever seems to > http://www.jurai.net/~winter | go right - FLA M 3.1:53 > */ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-tokenring" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Sun Apr 19 18:08:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA28284 for freebsd-tokenring-outgoing; Sun, 19 Apr 1998 18:08:00 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from sasami.jurai.net (winter@sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA28255 for ; Mon, 20 Apr 1998 01:07:50 GMT (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id VAA24757; Sun, 19 Apr 1998 21:07:37 -0400 (EDT) Date: Sun, 19 Apr 1998 21:07:37 -0400 (EDT) From: "Matthew N. Dodd" To: "Larry S. Lile" cc: freebsd-tokenring@FreeBSD.ORG Subject: Re: My status. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 19 Apr 1998, Larry S. Lile wrote: > Why don't you post the code so we can take a look > while we wait for it to get committed? That more or less is a given. :) Let me get it cleaned up. /* Matthew N. Dodd | A memory retaining a love you had for life winter@jurai.net | As cruel as it seems nothing ever seems to http://www.jurai.net/~winter | go right - FLA M 3.1:53 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Mon Apr 20 07:28:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA29601 for freebsd-tokenring-outgoing; Mon, 20 Apr 1998 07:28:05 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from smtp-gw.BayNetworks.COM (ns1.BayNetworks.COM [134.177.3.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA29467 for ; Mon, 20 Apr 1998 14:26:49 GMT (envelope-from George_Morgan@BayNetworks.COM) Received: from mailhost.BayNetworks.COM (screen2r.BayNetworks.COM [134.177.3.1]) by smtp-gw.BayNetworks.COM (8.8.8/8.8.8) with ESMTP id HAA28232 for ; Mon, 20 Apr 1998 07:24:01 -0700 (PDT) Received: from ns2.corpwest.BayNetworks.COM (ns2.corpwest.baynetworks.com [134.177.1.22]) by mailhost.BayNetworks.COM (8.8.8/8.8.8) with ESMTP id HAA14601 for ; Mon, 20 Apr 1998 07:24:24 -0700 (PDT) Received: from sc-mail2.corpwest.BayNetworks.com (sc-mail2-hme0.corpwest.baynetworks.com [134.177.1.56]) by ns2.corpwest.BayNetworks.COM (SMI-8.6/BNET-97/05/05-S) with SMTP id HAA19560; Mon, 20 Apr 1998 07:23:59 -0700 for Received: from gmorgan-pc (gmorgan-pc.corpwest.baynetworks.com [134.177.25.229]) by sc-mail2.corpwest.BayNetworks.com (post.office MTA v2.0 0529 ID# 0-13459) with SMTP id AAA8852 for ; Mon, 20 Apr 1998 07:23:57 -0700 From: George_Morgan@BayNetworks.COM (George Morgan) To: freebsd-tokenring@FreeBSD.ORG Date: Mon, 20 Apr 1998 07:26:11 -0700 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Madge NIC support... X-mailer: Pegasus Mail for Win32 (v3.00 beta 6) Message-ID: <19980420142356.AAA8852@gmorgan-pc.corpwest.baynetworks.com> Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have been contacted by Madge and have been given a license agreement to sign in order to obtain their "SDK". Sounds like they have tried to make their software interface pretty much the same for all of their cards (with notable exceptions I'm sure) So, I am haggling with them to see if I can get a license agreement where I can put the license text at the beginning of the source and distribute the source. I think they are willing but they still might force me the distribute their part as object code (which is not really acceptable...) George Morgan Bay Networks gmorgan@baynetworks.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Mon Apr 20 08:28:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA13914 for freebsd-tokenring-outgoing; Mon, 20 Apr 1998 08:28:23 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from sasami.jurai.net (winter@sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA13761 for ; Mon, 20 Apr 1998 15:27:32 GMT (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id LAA04511; Mon, 20 Apr 1998 11:27:16 -0400 (EDT) Date: Mon, 20 Apr 1998 11:27:16 -0400 (EDT) From: "Matthew N. Dodd" Reply-To: "Matthew N. Dodd" To: George Morgan cc: freebsd-tokenring@FreeBSD.ORG Subject: Re: Madge NIC support... In-Reply-To: <19980420142356.AAA8852@gmorgan-pc.corpwest.baynetworks.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 20 Apr 1998, George Morgan wrote: > I have been contacted by Madge and have been given a license agreement > to sign in order to obtain their "SDK". Sounds like they have tried to > make their software interface pretty much the same for all of their > cards (with notable exceptions I'm sure) So, I am haggling with them to > see if I can get a license agreement where I can put the license text at > the beginning of the source and distribute the source. I think they are > willing but they still might force me the distribute their part as > object code (which is not really acceptable...) This may turn out to be a real problem... There are quite a few Token Ring NIC vendors who have rather nice products that would be wonderful to support. Unfortunately these products are moving towards a legacy status and no longer provoke a desire to have them supported. Many cards will work dual mode; that is they will emulate the IBM shared memory adapters... The 3c619 is one of these (3com product). Other cards like the Proteon are based on a TI chipset which we can get doc for even if Proteon declines to provide us with information. Proteon acutally sells a DDK and has a part # on their webpage but as far as I'm concerned, unless we can get the programming information free or for cost of shipping I'm not interested in working with the card. It only took me about 2 months to bug SMC into providing me the doccumentation for the TokenCard Elite chipset; persistence pays off. To everyone else; if you would like to help or test, go out and buy a couple of IBM shared memory 4/16 cards as these will probably be the first devices to have driver support. I'm working on the SMC TCE driver but that won't happen until we've got working IBM drivers. And George, keep up the good work. :) /* Matthew N. Dodd | A memory retaining a love you had for life winter@jurai.net | As cruel as it seems nothing ever seems to http://www.jurai.net/~winter | go right - FLA M 3.1:53 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Mon Apr 20 11:43:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA08630 for freebsd-tokenring-outgoing; Mon, 20 Apr 1998 11:43:00 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from heathers2.stdio.com (lile@heathers2.stdio.com [199.89.192.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA08004 for ; Mon, 20 Apr 1998 18:41:22 GMT (envelope-from lile@stdio.com) Received: (from lile@localhost) by heathers2.stdio.com (8.8.8/8.8.8) id OAA26935; Mon, 20 Apr 1998 14:39:02 -0400 (EDT) Date: Mon, 20 Apr 1998 14:39:00 -0400 (EDT) From: "Larry S. Lile" To: freebsd-tokenring@FreeBSD.ORG Subject: Re: My status. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 19 Apr 1998, Matthew N. Dodd wrote: > > Ok, I've had a chance to work on a few things this weekend while taking a > break from beating on the EISA DPT code have come up with the following: > > sys/net/if_iso88025subr.c - iso88025_output() and iso88025_input() > Stolen shamelessly from if_fddisubr.c > and if_ethersubr.c > sys/net/if_iso88025subr.h - nothing :) > > I'm going to go ahead and submit to having some duplicate code for the > time being but revisit the way all of the LLC code is handled in ethernet > and tokenring at a later time. At that time we will have to address > frametype issues. I don't feel tis an issue we need to deal with now. > Breaking things up into small manageable chunks and completing them is > more important. > > sys/i386/eisa/if_tce_eisa.c - probe/attach shim for SMC TokenCard Elite > sys/i386/eisa/if_tce_eisa.h - EISA specific defines for tce. > > tce0: at 0x1c00-0x1cff > tce0: at 0xde000-0xdffff irq 10 on eisa0 slot 1 > > Anyhow, I didn't get a whole lot done as I've been tied up debuging the > problems I've had with the DPT EISA stuff. > > I'll finish up sys/net/if_iso88025.* and get the probe attach stuff for > the IBM 4/16 Busmaster EISA card working. (I'm doing EISA probe/attach > code to make sure I'm not doing anything wrong in the DPT code.) > > The code we have for the IBM shared memory adapters can move forward now > with the assumption that iso88025_output() and iso88025_input() do the > right thing. Have you written a iso88025_ifattach() (or token_ifattach) yet? I have started banging on the tok driver again and since we are going at 2/3 different cards at once I would hate to be duplicating effort. Larry lile@stdio.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Mon Apr 20 12:41:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA24707 for freebsd-tokenring-outgoing; Mon, 20 Apr 1998 12:41:32 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from sasami.jurai.net (winter@sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA24634 for ; Mon, 20 Apr 1998 19:41:01 GMT (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id PAA07347; Mon, 20 Apr 1998 15:40:51 -0400 (EDT) Date: Mon, 20 Apr 1998 15:40:50 -0400 (EDT) From: "Matthew N. Dodd" To: "Larry S. Lile" cc: freebsd-tokenring@FreeBSD.ORG Subject: Re: My status. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 20 Apr 1998, Larry S. Lile wrote: > Have you written a iso88025_ifattach() (or token_ifattach) yet? I have > started banging on the tok driver again and since we are going at 2/3 > different cards at once I would hate to be duplicating effort. I'll finish up the iso88025 stuff tonite if I can. If you want to stub it out in your source file for now that would work. /* Matthew N. Dodd | A memory retaining a love you had for life winter@jurai.net | As cruel as it seems nothing ever seems to http://www.jurai.net/~winter | go right - FLA M 3.1:53 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Mon Apr 20 13:49:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA13099 for freebsd-tokenring-outgoing; Mon, 20 Apr 1998 13:49:00 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from heathers2.stdio.com (lile@heathers2.stdio.com [199.89.192.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA12879 for ; Mon, 20 Apr 1998 20:48:23 GMT (envelope-from lile@stdio.com) Received: (from lile@localhost) by heathers2.stdio.com (8.8.8/8.8.8) id QAA29564; Mon, 20 Apr 1998 16:45:56 -0400 (EDT) Date: Mon, 20 Apr 1998 16:45:55 -0400 (EDT) From: "Larry S. Lile" To: "Matthew N. Dodd" cc: freebsd-tokenring@FreeBSD.ORG Subject: Re: My status. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 20 Apr 1998, Matthew N. Dodd wrote: > On Mon, 20 Apr 1998, Larry S. Lile wrote: > > Have you written a iso88025_ifattach() (or token_ifattach) yet? I have > > started banging on the tok driver again and since we are going at 2/3 > > different cards at once I would hate to be duplicating effort. > > I'll finish up the iso88025 stuff tonite if I can. > > If you want to stub it out in your source file for now that would work. Why not just send me a temporary copy for now so I can see whats there, because some of this won't compile if I just start stubbing in calls without code or prototypes. Larry lile@stdio.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Mon Apr 20 13:54:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA15032 for freebsd-tokenring-outgoing; Mon, 20 Apr 1998 13:54:48 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from sasami.jurai.net (winter@sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA14568 for ; Mon, 20 Apr 1998 20:53:48 GMT (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id QAA08483; Mon, 20 Apr 1998 16:53:35 -0400 (EDT) Date: Mon, 20 Apr 1998 16:53:35 -0400 (EDT) From: "Matthew N. Dodd" To: "Larry S. Lile" cc: freebsd-tokenring@FreeBSD.ORG Subject: Re: My status. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 20 Apr 1998, Larry S. Lile wrote: > Why not just send me a temporary copy for now so I can see whats there, > because some of this won't compile if I just start stubbing in calls > without code or prototypes. I'll put all the stuff on a webpage when I get home. The prototypes will be the same as ether_*. /* Matthew N. Dodd | A memory retaining a love you had for life winter@jurai.net | As cruel as it seems nothing ever seems to http://www.jurai.net/~winter | go right - FLA M 3.1:53 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Mon Apr 20 14:01:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA17388 for freebsd-tokenring-outgoing; Mon, 20 Apr 1998 14:01:50 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from sasami.jurai.net (winter@sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA17276 for ; Mon, 20 Apr 1998 21:01:14 GMT (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id RAA08610 for ; Mon, 20 Apr 1998 17:01:12 -0400 (EDT) Date: Mon, 20 Apr 1998 17:01:12 -0400 (EDT) From: "Matthew N. Dodd" To: tokenring@FreeBSD.ORG Subject: a request. (or: lets get organized) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG If everyone working on stuff or considering working on stuff or whatever can send me a list of the hardware they have, the platforms they are developing on (network layouts etc) the doccumentation they have, stuff they need, status of their work, email, webpage etc. I'll put everything up on a webpage so we all don't end up chasing each other around and going "What was X doing again?" /* Matthew N. Dodd | A memory retaining a love you had for life winter@jurai.net | As cruel as it seems nothing ever seems to http://www.jurai.net/~winter | go right - FLA M 3.1:53 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Tue Apr 21 12:24:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA27697 for freebsd-tokenring-outgoing; Tue, 21 Apr 1998 12:24:50 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from sasami.jurai.net (winter@sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA27665 for ; Tue, 21 Apr 1998 19:24:39 GMT (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id PAA25377 for ; Tue, 21 Apr 1998 15:24:32 -0400 (EDT) Date: Tue, 21 Apr 1998 15:24:32 -0400 (EDT) From: "Matthew N. Dodd" To: tokenring@FreeBSD.ORG Subject: FreeBSD Token Ring project page. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG http://www.jurai.net/~winter/tr/tr.html /* Matthew N. Dodd | A memory retaining a love you had for life winter@jurai.net | As cruel as it seems nothing ever seems to http://www.jurai.net/~winter | go right - FLA M 3.1:53 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Tue Apr 21 13:04:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA08345 for freebsd-tokenring-outgoing; Tue, 21 Apr 1998 13:04:51 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from heathers2.stdio.com (lile@heathers2.stdio.com [199.89.192.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA08218 for ; Tue, 21 Apr 1998 20:04:12 GMT (envelope-from lile@stdio.com) Received: (from lile@localhost) by heathers2.stdio.com (8.8.8/8.8.8) id QAA13394; Tue, 21 Apr 1998 16:01:59 -0400 (EDT) Date: Tue, 21 Apr 1998 16:01:58 -0400 (EDT) From: "Larry S. Lile" To: tokenring@FreeBSD.ORG Subject: Current work... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am currently working on a generic ioctl for token ring (iso88025) interfaces that could be called from several drivers, I am using the ether_ioctl as a guide. Could somebody with a little more knowledge (or documentation :) generate a token ring equivalent of if_ether? The defines anyway, for instance ... #define ETHERMTU (ETHER_MAX_LEN-ETHER_HDR_LEN-ETHER_CRC_LEN) #define ETHERMIN (ETHER_MIN_LEN-ETHER_HDR_LEN-ETHER_CRC_LEN) Also should we be going with TOKENxxx or ISO88025 ???? Larry lile@stdio.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Tue Apr 21 13:19:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA12543 for freebsd-tokenring-outgoing; Tue, 21 Apr 1998 13:19:47 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from sasami.jurai.net (winter@sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA12142 for ; Tue, 21 Apr 1998 20:18:19 GMT (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id QAA25958; Tue, 21 Apr 1998 16:18:16 -0400 (EDT) Date: Tue, 21 Apr 1998 16:18:15 -0400 (EDT) From: "Matthew N. Dodd" To: "Larry S. Lile" cc: tokenring@FreeBSD.ORG Subject: Re: Current work... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 21 Apr 1998, Larry S. Lile wrote: > #define ETHERMTU (ETHER_MAX_LEN-ETHER_HDR_LEN-ETHER_CRC_LEN) > #define ETHERMIN (ETHER_MIN_LEN-ETHER_HDR_LEN-ETHER_CRC_LEN) We've got a bit of a problem with MTU as it is dependent on our ring speed. The MTU for a 16mb ring will be higher than the MTU for a 4mb ring. Actually 'can be higher' is a better way to put it. Some cards have a fixed speed (config the speed with a DOS util and live with it. Some cards will autodetect ring speed on insert. Some cards only support 4mb. > Also should we be going with TOKENxxx or ISO88025 ???? ISO88025 as that is what the sys/net/if_types.h calles it. /* Matthew N. Dodd | A memory retaining a love you had for life winter@jurai.net | As cruel as it seems nothing ever seems to http://www.jurai.net/~winter | go right - FLA M 3.1:53 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Tue Apr 21 13:23:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA13215 for freebsd-tokenring-outgoing; Tue, 21 Apr 1998 13:23:09 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from heathers2.stdio.com (lile@heathers2.stdio.com [199.89.192.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA13140 for ; Tue, 21 Apr 1998 20:22:31 GMT (envelope-from lile@stdio.com) Received: (from lile@localhost) by heathers2.stdio.com (8.8.8/8.8.8) id QAA13825; Tue, 21 Apr 1998 16:20:13 -0400 (EDT) Date: Tue, 21 Apr 1998 16:20:13 -0400 (EDT) From: "Larry S. Lile" To: "Matthew N. Dodd" cc: tokenring@FreeBSD.ORG Subject: Re: Current work... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 21 Apr 1998, Matthew N. Dodd wrote: > On Tue, 21 Apr 1998, Larry S. Lile wrote: > > #define ETHERMTU (ETHER_MAX_LEN-ETHER_HDR_LEN-ETHER_CRC_LEN) > > #define ETHERMIN (ETHER_MIN_LEN-ETHER_HDR_LEN-ETHER_CRC_LEN) > > We've got a bit of a problem with MTU as it is dependent on our ring > speed. The MTU for a 16mb ring will be higher than the MTU for a 4mb > ring. Actually 'can be higher' is a better way to put it. > > Some cards have a fixed speed (config the speed with a DOS util and live > with it. Some cards will autodetect ring speed on insert. Some cards > only support 4mb. Yes, but there is some minimum and some maximum and by default we should pick some arbitrary point and let each driver adjust it to fit its insertion speed. Also source routing can (I think) can affect the header size of the packets. Any good ideas? > > > Also should we be going with TOKENxxx or ISO88025 ???? > > ISO88025 as that is what the sys/net/if_types.h calles it. Ok, I will cut overy any existing common functions I have. Larry lile@stdio.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Tue Apr 21 13:41:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA17272 for freebsd-tokenring-outgoing; Tue, 21 Apr 1998 13:41:17 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from sasami.jurai.net (winter@sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA17210 for ; Tue, 21 Apr 1998 20:40:45 GMT (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id QAA26313; Tue, 21 Apr 1998 16:40:34 -0400 (EDT) Date: Tue, 21 Apr 1998 16:40:34 -0400 (EDT) From: "Matthew N. Dodd" To: "Larry S. Lile" cc: tokenring@FreeBSD.ORG Subject: Re: Current work... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 21 Apr 1998, Larry S. Lile wrote: > Yes, but there is some minimum and some maximum and by default we should > pick some arbitrary point and let each driver adjust it to fit its > insertion speed. Also source routing can (I think) can affect the > header size of the packets. We need to set our min and max based on line speed and let the user adjust to some value between if they desire. Min will probably be the same for both. Routing info only takes 30 octets, so we have to consider that as well. Also remember that all our data rides around in 802.2 packets so we have those headers to deal with as well. Eventually, our frame type code will deal with MTUs instead of ethernet/fddi/tokenring. The device will still determine the hard MTU but we have to have a way of supporting multiple MTUs per i/f. We don't really need to worry about that for now. If you like, you can do what the FDDI code did and just use all the ether_* stuff. /* Matthew N. Dodd | A memory retaining a love you had for life winter@jurai.net | As cruel as it seems nothing ever seems to http://www.jurai.net/~winter | go right - FLA M 3.1:53 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Tue Apr 21 13:56:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA20879 for freebsd-tokenring-outgoing; Tue, 21 Apr 1998 13:56:37 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from charon.ccnvhi.com (wkstn.ccnvhi.com [207.247.3.162] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id UAA20837 for ; Tue, 21 Apr 1998 20:56:14 GMT (envelope-from pnorton@ccnvhi.com) Received: by charon.ccnvhi.com; (5.65v3.2/1.3/10May95) id AA31222; Tue, 21 Apr 1998 13:56:05 -0700 Date: Tue, 21 Apr 1998 13:55:45 -0700 Message-Id: <199804212055.NAA01835@grumpy.ccnvhi.com> From: Paul Norton Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Matthew N. Dodd" Cc: "Larry S. Lile" , tokenring@FreeBSD.ORG Subject: Re: Current work... In-Reply-To: References: X-Mailer: VM 6.22 under 19.15 XEmacs Lucid Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matthew N. Dodd writes: > We need to set our min and max based on line speed and let the user adjust > to some value between if they desire. Min will probably be the same for > both. Max MTU is a function of ring speed and configured shared-RAM for the 16/4 adapters. There's a draft IETF standard that recommends 1500 as default. > Also remember that all our data rides around in 802.2 packets so we have > those headers to deal with as well. Max IP MTU = Recv. buf size - 802.5 MAC header including max possible RIF - 802.2 header - SNAP header. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Tue Apr 21 13:59:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA21713 for freebsd-tokenring-outgoing; Tue, 21 Apr 1998 13:59:33 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from sasami.jurai.net (winter@sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA21645 for ; Tue, 21 Apr 1998 20:59:13 GMT (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id QAA26516; Tue, 21 Apr 1998 16:58:50 -0400 (EDT) Date: Tue, 21 Apr 1998 16:58:50 -0400 (EDT) From: "Matthew N. Dodd" To: Paul Norton cc: "Larry S. Lile" , tokenring@FreeBSD.ORG Subject: Re: Current work... In-Reply-To: <199804212055.NAA01835@grumpy.ccnvhi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 21 Apr 1998, Paul Norton wrote: > Max MTU is a function of ring speed and configured shared-RAM for the 16/4 > adapters. There's a draft IETF standard that recommends 1500 as > default. > > Max IP MTU = Recv. buf size - 802.5 MAC header including max possible RIF > - 802.2 header - SNAP header. Ah... It all makes sense now. Good thing someone here knows how all of this works. :) /* Matthew N. Dodd | A memory retaining a love you had for life winter@jurai.net | As cruel as it seems nothing ever seems to http://www.jurai.net/~winter | go right - FLA M 3.1:53 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Tue Apr 21 14:07:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA23980 for freebsd-tokenring-outgoing; Tue, 21 Apr 1998 14:07:40 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from snoopy.lucentmmit (smtp.Lucentmmit.com [38.160.171.35]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA23886 for ; Tue, 21 Apr 1998 21:07:13 GMT (envelope-from MCambria@lucent.com) Received: by smtp.Lucentmmit.com with Internet Mail Service (5.5.1960.3) id <2BP7W6F5>; Tue, 21 Apr 1998 17:20:45 -0400 Message-ID: <813D2854D1B0D1118236006097177581036B28@smtp.Lucentmmit.com> From: "Cambria, Mike" To: "'tokenring@freebsd.org'" Subject: RE: Current work... Date: Tue, 21 Apr 1998 17:20:44 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.1960.3) Content-Type: text/plain Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matthew N. Dodd wrote: Also remember that all our data rides around in 802.2 packets so we have those headers to deal with as well. Do we plan on supporting both SNAP headers and IEEE headers? IP can use both, some protocols can use only one or the other. MikeC Michael C. Cambria Lucent Technologies Member of Technical Staff Bell Labs Innovations Voice: (978) 287 - 2807 300 Baker Avenue Fax: (978) 287 - 2810 Concord, Massachusetts 01742 Internet: mcambria@lucent.com -----Original Message----- From: owner-freebsd-tokenring@freebsd.org [SMTP:owner-freebsd-tokenring@freebsd.org] Sent: Tuesday, April 21, 1998 4:41 PM To: Larry S. Lile Cc: tokenring@freebsd.org Subject: Re: Current work... On Tue, 21 Apr 1998, Larry S. Lile wrote: > Yes, but there is some minimum and some maximum and by default we should > pick some arbitrary point and let each driver adjust it to fit its > insertion speed. Also source routing can (I think) can affect the > header size of the packets. We need to set our min and max based on line speed and let the user adjust to some value between if they desire. Min will probably be the same for both. Routing info only takes 30 octets, so we have to consider that as well. Also remember that all our data rides around in 802.2 packets so we have those headers to deal with as well. Eventually, our frame type code will deal with MTUs instead of ethernet/fddi/tokenring. The device will still determine the hard MTU but we have to have a way of supporting multiple MTUs per i/f. We don't really need to worry about that for now. If you like, you can do what the FDDI code did and just use all the ether_* stuff. /* Matthew N. Dodd | A memory retaining a love you had for life winter@jurai.net | As cruel as it seems nothing ever seems to http://www.jurai.net/~winter | go right - FLA M 3.1:53 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Tue Apr 21 14:33:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA29787 for freebsd-tokenring-outgoing; Tue, 21 Apr 1998 14:33:26 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from sasami.jurai.net (winter@sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA29677 for ; Tue, 21 Apr 1998 21:32:52 GMT (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id RAA27108; Tue, 21 Apr 1998 17:32:42 -0400 (EDT) Date: Tue, 21 Apr 1998 17:32:42 -0400 (EDT) From: "Matthew N. Dodd" To: "Cambria, Mike" cc: "'tokenring@freebsd.org'" Subject: RE: Current work... In-Reply-To: <813D2854D1B0D1118236006097177581036B28@smtp.Lucentmmit.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 21 Apr 1998, Cambria, Mike wrote: > Do we plan on supporting both SNAP headers and IEEE headers? IP can use > both, some protocols can use only one or the other. Until we abstract out some of the ISO88022 stuff only SNAP as we are more or less copying what FDDI and Ethernet do. /* Matthew N. Dodd | A memory retaining a love you had for life winter@jurai.net | As cruel as it seems nothing ever seems to http://www.jurai.net/~winter | go right - FLA M 3.1:53 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Tue Apr 21 15:19:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA09796 for freebsd-tokenring-outgoing; Tue, 21 Apr 1998 15:19:02 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from heathers2.stdio.com (lile@heathers2.stdio.com [199.89.192.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA09632 for ; Tue, 21 Apr 1998 22:18:19 GMT (envelope-from lile@stdio.com) Received: (from lile@localhost) by heathers2.stdio.com (8.8.8/8.8.8) id SAA15303; Tue, 21 Apr 1998 18:15:19 -0400 (EDT) Date: Tue, 21 Apr 1998 18:15:18 -0400 (EDT) From: "Larry S. Lile" To: Paul Norton cc: tokenring@FreeBSD.ORG Subject: Re: Current work... In-Reply-To: <199804212055.NAA01835@grumpy.ccnvhi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 21 Apr 1998, Paul Norton wrote: > Matthew N. Dodd writes: > > We need to set our min and max based on line speed and let the user adjust > > to some value between if they desire. Min will probably be the same for > > both. > > Max MTU is a function of ring speed and configured shared-RAM for the 16/4 > adapters. There's a draft IETF standard that recommends 1500 as > default. > > > Also remember that all our data rides around in 802.2 packets so we have > > those headers to deal with as well. > > Max IP MTU = Recv. buf size - 802.5 MAC header including max possible RIF > - 802.2 header - SNAP header. > All the AIX boxen I admin run a MTU of 1492 on their token ring interfaces, any clue at to the 8 byte diff? Were basically going to need a /usr/src/sys/net/iso88025.h which would contain: #define ISO88025_ADDR_LEN 6 #define ISO88025_TYPE_LEN 2 /* Assumed */ #define ISO88025_CRC_LEN 4 /* Assumed */ #define ISO88025_HDR_LEN (ISO88025_ADDR_LEN*2+ISO88025_LEN) /* +RIF? */ #define ISO88025_MIN_LEN x /* No clue */ #define ISO88025_MAX_LEN 1518 /* Assumed same as ethernet */ #define ISO88025_IS_VALID_LEN(foo) \ ((foo) >= ISO88025_MIN_LEN && (foo) <= ISO88025_MAX_LEN) /* This may be over-kill ? */ struct iso88025_header { u_char iso88025_dhost[ISO88025_ADDR_LEN]; u_char iso88025_shost[ISO88025_ADDR_LEN]; u_short ether_type; /* RIF? */ }; struct iso88025_addr { u_char octet[ISO88025_ADDR_LEN]; }; Any ideas, suggestions or correct numbers to fill in? or should we just kludge through the ether subsystem? Larry lile@stdio.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Tue Apr 21 15:42:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA13752 for freebsd-tokenring-outgoing; Tue, 21 Apr 1998 15:42:41 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from charon.ccnvhi.com (wkstn.ccnvhi.com [207.247.3.162] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id WAA13738 for ; Tue, 21 Apr 1998 22:42:25 GMT (envelope-from pnorton@ccnvhi.com) Received: by charon.ccnvhi.com; (5.65v3.2/1.3/10May95) id AA00010; Tue, 21 Apr 1998 15:42:23 -0700 Date: Tue, 21 Apr 1998 15:42:17 -0700 Message-Id: <199804212242.PAA00550@grumpy.ccnvhi.com> From: Paul Norton Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Larry S. Lile" Cc: Paul Norton , tokenring@FreeBSD.ORG Subject: Re: Current work... In-Reply-To: References: <199804212055.NAA01835@grumpy.ccnvhi.com> X-Mailer: VM 6.22 under 19.15 XEmacs Lucid Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Larry S. Lile writes: > All the AIX boxen I admin run a MTU of 1492 on their token ring interfaces, > any clue at to the 8 byte diff? Were basically going to need a > /usr/src/sys/net/iso88025.h which would contain: 1492 is the MTU for Ethernet II(??), I believe, but I'd have to go back and reference Stevens to be sure. Are you in a bridged environment? > #define ISO88025_TYPE_LEN 2 /* Assumed */ > #define ISO88025_CRC_LEN 4 /* Assumed */ You'll never see the TR MAC CRC. It is stripped from the frame before the driver gets it. > #define ISO88025_HDR_LEN (ISO88025_ADDR_LEN*2+ISO88025_LEN) /* +RIF? */ > #define ISO88025_MIN_LEN x /* No clue */ 802.5 can have a zero-length payload. > #define ISO88025_MAX_LEN 1518 /* Assumed same as ethernet */ 17,960 for total frame size at 16 Mbps. > #define ISO88025_IS_VALID_LEN(foo) \ > ((foo) >= ISO88025_MIN_LEN && (foo) <= ISO88025_MAX_LEN) This should be determined by the driver after initialization. If the adapter has 8K shared-RAM configured, you'll only be able to support about a 3K MTU. If they have 64K configured the MTU can go to 17K. At any rate you will only be able to determine this after the driver/adapter has initialized. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Tue Apr 21 15:54:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA15439 for freebsd-tokenring-outgoing; Tue, 21 Apr 1998 15:54:34 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from heathers2.stdio.com (lile@heathers2.stdio.com [199.89.192.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA15373 for ; Tue, 21 Apr 1998 22:54:20 GMT (envelope-from lile@stdio.com) Received: (from lile@localhost) by heathers2.stdio.com (8.8.8/8.8.8) id SAA15556; Tue, 21 Apr 1998 18:52:07 -0400 (EDT) Date: Tue, 21 Apr 1998 18:52:06 -0400 (EDT) From: "Larry S. Lile" To: Paul Norton cc: tokenring@FreeBSD.ORG Subject: Re: Current work... In-Reply-To: <199804212242.PAA00550@grumpy.ccnvhi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 21 Apr 1998, Paul Norton wrote: > Larry S. Lile writes: > > All the AIX boxen I admin run a MTU of 1492 on their token ring interfaces, > > any clue at to the 8 byte diff? Were basically going to need a > > /usr/src/sys/net/iso88025.h which would contain: > > 1492 is the MTU for Ethernet II(??), I believe, but I'd have to go > back and reference Stevens to be sure. Are you in a bridged environment? > > > #define ISO88025_TYPE_LEN 2 /* Assumed */ > > #define ISO88025_CRC_LEN 4 /* Assumed */ > > You'll never see the TR MAC CRC. It is stripped from the frame before > the driver gets it. So we should dump it. > > #define ISO88025_HDR_LEN (ISO88025_ADDR_LEN*2+ISO88025_LEN) /* +RIF? */ > > #define ISO88025_MIN_LEN x /* No clue */ > > 802.5 can have a zero-length payload. So ISO88025_MIN_LEN = ISO88025_HDR_LEN How much space for the source routes? > > #define ISO88025_MAX_LEN 1518 /* Assumed same as ethernet */ > > 17,960 for total frame size at 16 Mbps. #define ISO88025_MAX_LEN 17960 > > #define ISO88025_IS_VALID_LEN(foo) \ > > ((foo) >= ISO88025_MIN_LEN && (foo) <= ISO88025_MAX_LEN) > > This should be determined by the driver after initialization. If the > adapter has 8K shared-RAM configured, you'll only be able to support > about a 3K MTU. If they have 64K configured the MTU can go to 17K. At > any rate you will only be able to determine this after the driver/adapter > has initialized. This would still be valid because we are really looking at absolute maximums and minimums. Each driver could reject packets based on its current configured MTU. Larry lile@stdio.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Tue Apr 21 16:21:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA18984 for freebsd-tokenring-outgoing; Tue, 21 Apr 1998 16:21:44 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from charon.ccnvhi.com (wkstn.ccnvhi.com [207.247.3.162] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id XAA18881 for ; Tue, 21 Apr 1998 23:20:59 GMT (envelope-from pnorton@ccnvhi.com) Received: by charon.ccnvhi.com; (5.65v3.2/1.3/10May95) id AA01080; Tue, 21 Apr 1998 16:20:54 -0700 Date: Tue, 21 Apr 1998 16:20:53 -0700 Message-Id: <199804212320.QAA00694@grumpy.ccnvhi.com> From: Paul Norton Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Larry S. Lile" Cc: tokenring@FreeBSD.ORG Subject: Re: Current work... In-Reply-To: References: <199804212242.PAA00550@grumpy.ccnvhi.com> X-Mailer: VM 6.22 under 19.15 XEmacs Lucid Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Larry S. Lile writes: > So we should dump it. Yup. > So ISO88025_MIN_LEN = ISO88025_HDR_LEN > How much space for the source routes? Two bytes for the RCF and 16 bytes for the route fields. > This would still be valid because we are really looking at absolute > maximums and minimums. Each driver could reject packets based on > its current configured MTU. Yes, but you really need to tell the user when they attempt to configure the interface with an invalid MTU as well. Otherwise their first clue that they've misconfigured the interface is that some connections just don't work. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Tue Apr 21 16:29:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA20163 for freebsd-tokenring-outgoing; Tue, 21 Apr 1998 16:29:17 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from heathers2.stdio.com (lile@heathers2.stdio.com [199.89.192.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA20092 for ; Tue, 21 Apr 1998 23:29:05 GMT (envelope-from lile@stdio.com) Received: (from lile@localhost) by heathers2.stdio.com (8.8.8/8.8.8) id TAA15931; Tue, 21 Apr 1998 19:26:51 -0400 (EDT) Date: Tue, 21 Apr 1998 19:26:50 -0400 (EDT) From: "Larry S. Lile" To: Paul Norton cc: tokenring@FreeBSD.ORG Subject: Re: Current work... In-Reply-To: <199804212320.QAA00694@grumpy.ccnvhi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 21 Apr 1998, Paul Norton wrote: > Larry S. Lile writes: > > So ISO88025_MIN_LEN = ISO88025_HDR_LEN > > How much space for the source routes? > > Two bytes for the RCF and 16 bytes for the route fields. I assume they would go into the HDR_LEN corret? > > This would still be valid because we are really looking at absolute > > maximums and minimums. Each driver could reject packets based on > > its current configured MTU. > > Yes, but you really need to tell the user when they attempt to > configure the interface with an invalid MTU as well. Otherwise their > first clue that they've misconfigured the interface is that some > connections just don't work. That can be handled in the ioctl routines. In iso88025_ioctl you must check that they have not exceeded ISO88025MTU (or absolute max) and then in the interface ioctl ex tok_ioctl that they have not exceeded the cards capacity. Actually I think that is reversed :) On another note, could you look at my code for iso88025_ioctl it is panic'ing when I set the ip address or netmask, oops. Larry lile@stdio.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Tue Apr 21 16:35:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA21035 for freebsd-tokenring-outgoing; Tue, 21 Apr 1998 16:35:40 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from heathers2.stdio.com (lile@heathers2.stdio.com [199.89.192.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA21009 for ; Tue, 21 Apr 1998 23:35:35 GMT (envelope-from lile@stdio.com) Received: (from lile@localhost) by heathers2.stdio.com (8.8.8/8.8.8) id TAA16005; Tue, 21 Apr 1998 19:33:19 -0400 (EDT) Date: Tue, 21 Apr 1998 19:33:18 -0400 (EDT) From: "Larry S. Lile" To: "Matthew N. Dodd" cc: tokenring@FreeBSD.ORG Subject: Code movement In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hey Matthew Why dont you go ahead and put iso88025_attach into sys/net/if_iso88025subr.c and .h (I think thats where it should go) because it seems to be working ok. I am about to cut over to using those 2 files are they up to date with your latest changes? Larry lile@stdio.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Tue Apr 21 16:41:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA21880 for freebsd-tokenring-outgoing; Tue, 21 Apr 1998 16:41:41 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from sasami.jurai.net (winter@sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA21865 for ; Tue, 21 Apr 1998 23:41:32 GMT (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id TAA29065; Tue, 21 Apr 1998 19:41:25 -0400 (EDT) Date: Tue, 21 Apr 1998 19:41:25 -0400 (EDT) From: "Matthew N. Dodd" To: "Larry S. Lile" cc: tokenring@FreeBSD.ORG Subject: Re: Code movement In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 21 Apr 1998, Larry S. Lile wrote: > Why dont you go ahead and put iso88025_attach into > sys/net/if_iso88025subr.c and .h (I think thats where it should go) > because it seems to be working ok. Ok. > I am about to cut over to using those 2 files are they up to > date with your latest changes? Yep, the webpages are up to date. /* Matthew N. Dodd | A memory retaining a love you had for life winter@jurai.net | As cruel as it seems nothing ever seems to http://www.jurai.net/~winter | go right - FLA M 3.1:53 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Tue Apr 21 18:15:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA08395 for freebsd-tokenring-outgoing; Tue, 21 Apr 1998 18:15:10 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from sasami.jurai.net (winter@sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA08375 for ; Wed, 22 Apr 1998 01:15:01 GMT (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id VAA29976; Tue, 21 Apr 1998 21:14:55 -0400 (EDT) Date: Tue, 21 Apr 1998 21:14:55 -0400 (EDT) From: "Matthew N. Dodd" To: "Larry S. Lile" cc: Paul Norton , tokenring@FreeBSD.ORG Subject: Re: Current work... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 21 Apr 1998, Larry S. Lile wrote: > All the AIX boxen I admin run a MTU of 1492 on their token ring > interfaces, any clue at to the 8 byte diff? Were basically going to > need a /usr/src/sys/net/iso88025.h which would contain: ISO88022_SNAP frame header /* Matthew N. Dodd | A memory retaining a love you had for life winter@jurai.net | As cruel as it seems nothing ever seems to http://www.jurai.net/~winter | go right - FLA M 3.1:53 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Tue Apr 21 18:29:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA09734 for freebsd-tokenring-outgoing; Tue, 21 Apr 1998 18:29:21 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from sasami.jurai.net (winter@sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA09678 for ; Wed, 22 Apr 1998 01:28:51 GMT (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id VAA00273; Tue, 21 Apr 1998 21:28:27 -0400 (EDT) Date: Tue, 21 Apr 1998 21:28:27 -0400 (EDT) From: "Matthew N. Dodd" To: Paul Norton cc: "Larry S. Lile" , tokenring@FreeBSD.ORG Subject: Re: Current work... In-Reply-To: <199804212320.QAA00694@grumpy.ccnvhi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 21 Apr 1998, Paul Norton wrote: > Two bytes for the RCF and 16 bytes for the route fields. 3.2.5 Routing information (RI) field When a frame's routing information indicator bit in the source address field is equal to 1 (RII=1), the RI field shall be included in the frame. The following provides sufficient information for the MAC entity to determin the size of the RI field and parse the frame properly. The detailed structure and contents for the RI field is described in ISO/IEC 10038:1993 and ISO/IEC 88022-2 : 1994 <- RI Field (Length represented by LTH Field) -> | | +------+--------+------------------------------+ | 3 | LTH | | | bits | 5 bits | | +------+--------+------------------------------+ RI = Routing Information (2 to 30 octets when present) LTH = Lenght (5 bits) (number of octets) > Yes, but you really need to tell the user when they attempt to configure > the interface with an invalid MTU as well. Otherwise their first clue > that they've misconfigured the interface is that some connections just > don't work. iso88025subr.c : iso88025_ioctl() must insure that such misconfiguration will not happen. And will when I get a chance to write it. :) /* Matthew N. Dodd | A memory retaining a love you had for life winter@jurai.net | As cruel as it seems nothing ever seems to http://www.jurai.net/~winter | go right - FLA M 3.1:53 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Tue Apr 21 19:20:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA21233 for freebsd-tokenring-outgoing; Tue, 21 Apr 1998 19:20:28 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from heathers2.stdio.com (lile@heathers2.stdio.com [199.89.192.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA21191 for ; Wed, 22 Apr 1998 02:20:13 GMT (envelope-from lile@stdio.com) Received: (from lile@localhost) by heathers2.stdio.com (8.8.8/8.8.8) id WAA17027; Tue, 21 Apr 1998 22:17:58 -0400 (EDT) Date: Tue, 21 Apr 1998 22:17:57 -0400 (EDT) From: "Larry S. Lile" To: "Matthew N. Dodd" cc: Paul Norton , tokenring@FreeBSD.ORG Subject: Re: Current work... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 21 Apr 1998, Matthew N. Dodd wrote: > On Tue, 21 Apr 1998, Paul Norton wrote: > > Two bytes for the RCF and 16 bytes for the route fields. > > 3.2.5 Routing information (RI) field > > When a frame's routing information indicator bit in the source address > field is equal to 1 (RII=1), the RI field shall be included in the frame. > The following provides sufficient information for the MAC entity to > determin the size of the RI field and parse the frame properly. The > detailed structure and contents for the RI field is described in ISO/IEC > 10038:1993 and ISO/IEC 88022-2 : 1994 > > <- RI Field (Length represented by LTH Field) -> > | | > +------+--------+------------------------------+ > | 3 | LTH | | > | bits | 5 bits | | > +------+--------+------------------------------+ > > RI = Routing Information (2 to 30 octets when present) > LTH = Lenght (5 bits) (number of octets) > > > Yes, but you really need to tell the user when they attempt to configure > > the interface with an invalid MTU as well. Otherwise their first clue > > that they've misconfigured the interface is that some connections just > > don't work. > > iso88025subr.c : iso88025_ioctl() must insure that such misconfiguration > will not happen. > > And will when I get a chance to write it. :) I am already working on iso88205_ioctl that is why I was trying to determine the limits 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 From owner-freebsd-tokenring Tue Apr 21 20:00:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA26752 for freebsd-tokenring-outgoing; Tue, 21 Apr 1998 20:00:35 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from sasami.jurai.net (winter@sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA26736 for ; Wed, 22 Apr 1998 03:00:25 GMT (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id XAA01138; Tue, 21 Apr 1998 23:00:17 -0400 (EDT) Date: Tue, 21 Apr 1998 23:00:17 -0400 (EDT) From: "Matthew N. Dodd" To: "Larry S. Lile" cc: Paul Norton , tokenring@FreeBSD.ORG Subject: Re: Current work... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 21 Apr 1998, Larry S. Lile wrote: > I am already working on iso88205_ioctl that is why I was trying > to determine the limits for 802.5. So I see. :) /* Matthew N. Dodd | A memory retaining a love you had for life winter@jurai.net | As cruel as it seems nothing ever seems to http://www.jurai.net/~winter | go right - FLA M 3.1:53 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Tue Apr 21 21:08:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA05892 for freebsd-tokenring-outgoing; Tue, 21 Apr 1998 21:08:31 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from sasami.jurai.net (winter@sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA05855 for ; Wed, 22 Apr 1998 04:08:25 GMT (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id AAA04645 for ; Wed, 22 Apr 1998 00:08:24 -0400 (EDT) Date: Wed, 22 Apr 1998 00:08:24 -0400 (EDT) From: "Matthew N. Dodd" To: tokenring@FreeBSD.ORG Subject: code updated Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG code updated, check webpage /* Matthew N. Dodd | A memory retaining a love you had for life winter@jurai.net | As cruel as it seems nothing ever seems to http://www.jurai.net/~winter | go right - FLA M 3.1:53 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Wed Apr 22 06:02:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA05987 for freebsd-tokenring-outgoing; Wed, 22 Apr 1998 06:02:09 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from heathers2.stdio.com (lile@heathers2.stdio.com [199.89.192.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA05907 for ; Wed, 22 Apr 1998 13:02:00 GMT (envelope-from lile@stdio.com) Received: (from lile@localhost) by heathers2.stdio.com (8.8.8/8.8.8) id IAA21298; Wed, 22 Apr 1998 08:59:48 -0400 (EDT) Date: Wed, 22 Apr 1998 08:59:47 -0400 (EDT) From: "Larry S. Lile" To: "Matthew N. Dodd" cc: tokenring@FreeBSD.ORG Subject: Re: code updated In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 From owner-freebsd-tokenring Wed Apr 22 07:05:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA17165 for freebsd-tokenring-outgoing; Wed, 22 Apr 1998 07:05:21 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from heathers2.stdio.com (lile@heathers2.stdio.com [199.89.192.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA17141 for ; Wed, 22 Apr 1998 14:05:15 GMT (envelope-from lile@stdio.com) Received: (from lile@localhost) by heathers2.stdio.com (8.8.8/8.8.8) id KAA22203; Wed, 22 Apr 1998 10:02:55 -0400 (EDT) Date: Wed, 22 Apr 1998 10:02:54 -0400 (EDT) From: "Larry S. Lile" To: "Matthew N. Dodd" , tokenring@FreeBSD.ORG Subject: Re: code updated In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="1461733264-1563529736-893253774=:22047" Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --1461733264-1563529736-893253774=:22047 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 22 Apr 1998, Larry S. Lile wrote: > 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. As promised... but would everybody please glance it over and make sure I haven't made any serious errors. Larry lile@stdio.com PS: File attached inline in uu for those with strange mailers, sorry for the excess space. begin 666 iso88025.h M+RH*("H@0V]P>7)I9VAT("AC*2 Q.3DX+"!,87)R>2!,:6QE"B J($%L;"!R M:6=H=',@7!E(&IU2!M;W)A;&ET>2 J+PH*+RH*("H@5&AE(&UA>&EM=6T@<&%C:V5T(&QE M;F=T:"X*("HO"B-D969I;F4@25-/.#@P,C5?34%87TQ%3B @(" @(" @,37-I M8V%L(&AE861EPH@(" @ M(" @('5?8VAA Content-Description: 802.5 basic info LyoNCiAqIENvcHlyaWdodCAoYykgMTk5OCwgTGFycnkgTGlsZQ0KICogQWxs IHJpZ2h0cyByZXNlcnZlZC4NCiAqDQogKiBSZWRpc3RyaWJ1dGlvbiBhbmQg dXNlIGluIHNvdXJjZSBhbmQgYmluYXJ5IGZvcm1zLCB3aXRoIG9yIHdpdGhv dXQNCiAqIG1vZGlmaWNhdGlvbiwgYXJlIHBlcm1pdHRlZCBwcm92aWRlZCB0 aGF0IHRoZSBmb2xsb3dpbmcgY29uZGl0aW9ucw0KICogYXJlIG1ldDoNCiAq IDEuIFJlZGlzdHJpYnV0aW9ucyBvZiBzb3VyY2UgY29kZSBtdXN0IHJldGFp biB0aGUgYWJvdmUgY29weXJpZ2h0DQogKiAgICBub3RpY2UgdW5tb2RpZmll ZCwgdGhpcyBsaXN0IG9mIGNvbmRpdGlvbnMsIGFuZCB0aGUgZm9sbG93aW5n DQogKiAgICBkaXNjbGFpbWVyLg0KICogMi4gUmVkaXN0cmlidXRpb25zIGlu IGJpbmFyeSBmb3JtIG11c3QgcmVwcm9kdWNlIHRoZSBhYm92ZSBjb3B5cmln aHQNCiAqICAgIG5vdGljZSwgdGhpcyBsaXN0IG9mIGNvbmRpdGlvbnMgYW5k IHRoZSBmb2xsb3dpbmcgZGlzY2xhaW1lciBpbiB0aGUNCiAqICAgIGRvY3Vt ZW50YXRpb24gYW5kL29yIG90aGVyIG1hdGVyaWFscyBwcm92aWRlZCB3aXRo IHRoZSBkaXN0cmlidXRpb24uDQogKg0KICogVEhJUyBTT0ZUV0FSRSBJUyBQ Uk9WSURFRCBCWSBUSEUgQVVUSE9SIEFORCBDT05UUklCVVRPUlMgYGBBUyBJ UycnIEFORA0KICogQU5ZIEVYUFJFU1MgT1IgSU1QTElFRCBXQVJSQU5USUVT LCBJTkNMVURJTkcsIEJVVCBOT1QgTElNSVRFRCBUTywgVEhFDQogKiBJTVBM SUVEIFdBUlJBTlRJRVMgT0YgTUVSQ0hBTlRBQklMSVRZIEFORCBGSVRORVNT IEZPUiBBIFBBUlRJQ1VMQVIgUFVSUE9TRQ0KICogQVJFIERJU0NMQUlNRUQu ICBJTiBOTyBFVkVOVCBTSEFMTCBUSEUgQVVUSE9SIE9SIENPTlRSSUJVVE9S UyBCRSBMSUFCTEUNCiAqIEZPUiBBTlkgRElSRUNULCBJTkRJUkVDVCwgSU5D SURFTlRBTCwgU1BFQ0lBTCwgRVhFTVBMQVJZLCBPUiBDT05TRVFVRU5USUFM DQogKiBEQU1BR0VTIChJTkNMVURJTkcsIEJVVCBOT1QgTElNSVRFRCBUTywg UFJPQ1VSRU1FTlQgT0YgU1VCU1RJVFVURSBHT09EUw0KICogT1IgU0VSVklD RVM7IExPU1MgT0YgVVNFLCBEQVRBLCBPUiBQUk9GSVRTOyBPUiBCVVNJTkVT UyBJTlRFUlJVUFRJT04pDQogKiBIT1dFVkVSIENBVVNFRCBBTkQgT04gQU5Z IFRIRU9SWSBPRiBMSUFCSUxJVFksIFdIRVRIRVIgSU4gQ09OVFJBQ1QsIFNU UklDVA0KICogTElBQklMSVRZLCBPUiBUT1JUIChJTkNMVURJTkcgTkVHTElH RU5DRSBPUiBPVEhFUldJU0UpIEFSSVNJTkcgSU4gQU5ZIFdBWQ0KICogT1VU IE9GIFRIRSBVU0UgT0YgVEhJUyBTT0ZUV0FSRSwgRVZFTiBJRiBBRFZJU0VE IE9GIFRIRSBQT1NTSUJJTElUWSBPRg0KICogU1VDSCBEQU1BR0UuDQogKg0K ICogJElkOiBpc284ODAyNS5oLHYgMS4xIDE5OTgvMDQvMjIgMTM6NDk6MjAg bGlsZSBFeHAgJA0KICoNCiAqIEluZm9ybWF0aW9uIGdhdGhlcmVkIGZyb20g dG9rZW5yaW5nQGZyZWVic2QsIC9zeXMvbmV0L2V0aGVybmV0LmggYW5kDQog KiB0aGUgTWFjaCB0b2tlbiByaW5nIGRyaXZlci4NCiAqLw0KDQovKg0KICog RnVuZGFtZW50YWwgY29uc3RhbnRzIHJlbGF0aW5nIHRvIGlzbyA4MDIuNQ0K ICovDQoNCiNpZm5kZWYgX05FVF9JU084ODAyNV9IXw0KI2RlZmluZSBfTkVU X0lTTzg4MDI1X0hfDQoNCi8qDQogKiBUaGUgbnVtYmVyIG9mIGJ5dGVzIGlu IGFuIGlzbyA4MDIuNSAoTUFDKSBhZGRyZXNzLg0KICovDQojZGVmaW5lIElT Tzg4MDI1X0FERFJfTEVOICAgICAgIDYNCg0KLyoNCiAqIFRoZSBudW1iZXIg b2YgYnl0ZXMgaW4gdGhlIHR5cGUgZmllbGQuDQogKiAoIGRvIHdlIHJlYWxs eSBuZWVkIHRoaXMgb3IgaXMgZXRoZXJfdHlwZSBqdXN0IGV0aGVyX3R5cGUg PyApDQogKi8NCiNkZWZpbmUgSVNPODgwMjVfVFlQRV9MRU4gICAgICAgMg0K DQovKg0KICogTnVtYmVyIG9mIGJ5dGVzIG5lZWRlZCBmb3Igc291cmNlIHJv dXRpbmcgaW5mb3JtYXRpb24uDQogKi8NCiNkZWZpbmUgSVNPODgwMjVfUkNG X0xFTiAgICAgICAgMg0KI2RlZmluZSBJU084ODAyNV9SSUZfTEVOICAgICAg ICAxNg0KDQovKg0KICogVGhlIGxlbmd0aCBvZiB0aGUgY29tYmluZWQgaGVh ZGVyLg0KICovDQojZGVmaW5lIElTTzg4MDI1X0hEUl9MRU4gICAgICAgIChJ U084ODAyNV9BRERSX0xFTioyK0lTTzg4MDI1X1RZUEVfTEVOKyBcDQogICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICBJU084ODAyNV9SQ0ZfTEVO K0lTTzg4MDI1X1JJRl9MRU4pDQoNCi8qDQogKiBUaGUgbWluaW11bSBwYWNr ZXQgbGVuZ3RoLg0KICovDQojZGVmaW5lIElTTzg4MDI1X01JTl9MRU4gICAg ICAgIDAgLyogVGhpcyBvZmZlbmRzIG15IG1vcmFsaXR5ICovDQoNCi8qDQog KiBUaGUgbWF4aW11bSBwYWNrZXQgbGVuZ3RoLg0KICovDQojZGVmaW5lIElT Tzg4MDI1X01BWF9MRU4gICAgICAgIDE3OTYwICAgDQoNCi8qDQogKiBBIG1h Y3JvIHRvIHZhbGlkYXRlIGEgbGVuZ3RoIHdpdGgNCiAqLw0KI2RlZmluZSBJ U084ODAyNV9JU19WQUxJRF9MRU4oZm9vKSAgICAgIFwNCiAgICAgICAgKChm b28pID49IElTTzg4MDI1X01JTl9MRU4gJiYgKGZvbykgPD0gSVNPODgwMjVf TUFYX0xFTikNCg0KLyoNCiAqIElTTyA4MDIuNSBwaHlzaWNhbCBoZWFkZXIg Ki8NCiAqLw0Kc3RydWN0IGlzbzg4MDI1X2hlYWQgew0KICAgICAgICB1X2No YXIgICBhYzsgICAgIC8qIGFjY2VzcyBjb250cm9sIGZpZWxkICovDQogICAg ICAgIHVfY2hhciAgIGZjOyAgICAgLyogZnJhbWUgY29udHJvbCBmaWVsZCAq Lw0KICAgICAgICB1X2NoYXIgICBpc284ODAyNV9kaG9zdFtJU084ODAyNV9B RERSX0xFTl07ICAgICAvKiBkZXN0aW5hdGlvbiBhZGRyZXNzICovDQogICAg ICAgIHVfY2hhciAgIGlzbzg4MDI1X3Nob3N0W0lTTzg4MDI1X0FERFJfTEVO XTsgICAgIC8qIHNvdXJjZSBhZGRyZXNzICovDQogICAgICAgIHVfc2hvcnQg IHJjZjsgICAgLyogcm91dGUgY29udHJvbCBmaWVsZCAqLw0KICAgICAgICB1 X3Nob3J0ICByc2VnWzhdOy8qIHJvdXRpbmcgcmVnaXN0ZXJzICovDQp9Ow0K DQovKg0KICogSVNPIDgwMi41IExMQyBzdHJ1Y3R1cmUgKi8NCiAqLw0Kc3Ry dWN0IHRyX2xsYyB7DQogICAgICAgIHVfY2hhciAgIGRzYXA7ICAgLyogZGVz dGluYXRpb24gU0FQICovDQogICAgICAgIHVfY2hhciAgIHNzYXA7ICAgLyog c291cmNlIFNBUCAqLw0KICAgICAgICB1X2NoYXIgICBsbGM7ICAgIC8qIExM QyBjb250cm9sIGZpZWxkICovDQogICAgICAgIHVfY2hhciAgIHByb3RpZFsz XTsgICAgICAvKiBwcm90b2NvbCBpZCAqLw0KICAgICAgICB1X3Nob3J0ICBl dGhlcl90eXBlOyAgICAgIC8qIFhYWCBldGhlciB0eXBlIGZpZWxkICovDQp9 Ow0KDQovKg0KICogU3RydWN0dXJlIG9mIGEgNDgtYml0IGlzbyA4MDIuNSBh ZGRyZXNzLg0KICogICggV2UgY291bGQgYWxzbyBhZGQgdGhlIDE2IGJpdCBh ZGRyZXNzZXMgYXMgYSB1bmlvbikNCiAqLw0Kc3RydWN0ICBldGhlcl9hZGRy IHsNCiAgICAgICAgdV9jaGFyIG9jdGV0W0lTTzg4MDI1X0FERFJfTEVOXTsN Cn07DQoNCiNlbmRpZg0KDQo= --1461733264-1563529736-893253774=:22047-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Wed Apr 22 07:05:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA17274 for freebsd-tokenring-outgoing; Wed, 22 Apr 1998 07:05:57 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from smtp-gw.BayNetworks.COM (ns2.BayNetworks.COM [134.177.3.16]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA17264 for ; Wed, 22 Apr 1998 14:05:54 GMT (envelope-from George_Morgan@BayNetworks.COM) Received: from mailhost.BayNetworks.COM (screen2r.BayNetworks.COM [134.177.3.1]) by smtp-gw.BayNetworks.COM (8.8.8/8.8.8) with ESMTP id HAA00127 for ; Wed, 22 Apr 1998 07:03:34 -0700 (PDT) Received: from ns2.corpwest.BayNetworks.COM (ns2.corpwest.baynetworks.com [134.177.1.22]) by mailhost.BayNetworks.COM (8.8.8/8.8.8) with ESMTP id HAA29858 for ; Wed, 22 Apr 1998 07:03:32 -0700 (PDT) Received: from sc-mail2.corpwest.BayNetworks.com (sc-mail2-hme0.corpwest.baynetworks.com [134.177.1.56]) by ns2.corpwest.BayNetworks.COM (SMI-8.6/BNET-97/05/05-S) with SMTP id HAA27183; Wed, 22 Apr 1998 07:03:05 -0700 for Received: from gmorgan-pc (gmorgan-pc.corpwest.baynetworks.com [134.177.25.229]) by sc-mail2.corpwest.BayNetworks.com (post.office MTA v2.0 0529 ID# 0-13459) with SMTP id AAA26391 for ; Wed, 22 Apr 1998 07:03:05 -0700 From: George_Morgan@BayNetworks.COM (George Morgan) To: freebsd-tokenring@FreeBSD.ORG Date: Wed, 22 Apr 1998 07:05:21 -0700 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: code updated References: In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.00 beta 6) Message-ID: <19980422140304.AAA26391@gmorgan-pc.corpwest.baynetworks.com> Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Do we have any concensus on what the default badrate should be? For backward compatibility sake we should have 4 Mbps as the default, but since UNIX users usually consider themselves as power users, maybe we should set it to 16 Mbps :) George Morgan Bay Networks gmorgan@baynetworks.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Wed Apr 22 07:06:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA17408 for freebsd-tokenring-outgoing; Wed, 22 Apr 1998 07:06:54 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from corp.tivoli.com (corp.tivoli.com [146.84.1.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA17400 for ; Wed, 22 Apr 1998 14:06:51 GMT (envelope-from Paul_Labadie@tivoli.com) From: Paul_Labadie@tivoli.com Received: from notes-brahms2.tivoli.com (notes-brahms2.tivoli.com [146.84.3.4]) by corp.tivoli.com (8.8.7/8.8.7) with SMTP id JAA06302 for ; Wed, 22 Apr 1998 09:05:09 -0500 (CDT) Received: by notes-brahms2.tivoli.com(Lotus SMTP MTA v1.06 (346.8 3-18-1997)) id 062565EE.00586378 ; Wed, 22 Apr 1998 10:05:26 -0600 X-Lotus-FromDomain: TIVOLI SYSTEMS cc: tokenring@FreeBSD.ORG Message-ID: <852565EE.004C23D7.00@notes-brahms2.tivoli.com> Date: Wed, 22 Apr 1998 10:02:44 -0500 Subject: Re: Current work... Mime-Version: 1.0 Content-type: text/plain; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG - > On Tue, 21 Apr 1998, Paul Norton wrote: > > Two bytes for the RCF and 16 bytes for the route fields. > > 3.2.5 Routing information (RI) field > > When a frame's routing information indicator bit in the source address > field is equal to 1 (RII=1), the RI field shall be included in the frame. > The following provides sufficient information for the MAC entity to > determin the size of the RI field and parse the frame properly. The > detailed structure and contents for the RI field is described in ISO/IEC > 10038:1993 and ISO/IEC 88022-2 : 1994 > > <- RI Field (Length represented by LTH Field) -> > | | > +------+--------+------------------------------+ > | 3 | LTH | | > | bits | 5 bits | | > +------+--------+------------------------------+ > > RI = Routing Information (2 to 30 octets when present) > LTH = Lenght (5 bits) (number of octets) > The first 3 bits are for broadcast type, tradition at IBM is to allow only 7 'hops' or 7 2byte segment number/bridgenumber addons to the 2 byte control field (the broadcast and length are just the first byte), although recently its been upped to 13. not sure how most drivers handle the packet when there is no RIF, first 3 bits 0XX = Non-Broadcast 10X = All-Route Broadcast 11X = Single-route broadcast X means either a 1 or a 0. since the information field follows the RI, i never understood how a driver knows if the next field is an IF, RIF or the CRC/end code. l8r, p > > Yes, but you really need to tell the user when they attempt to configure > > the interface with an invalid MTU as well. Otherwise their first clue > > that they've misconfigured the interface is that some connections just > > don't work. > > iso88025subr.c : iso88025_ioctl() must insure that such misconfiguration > will not happen. > > And will when I get a chance to write it. :) I am already working on iso88205_ioctl that is why I was trying to determine the limits 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Wed Apr 22 07:18:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA19660 for freebsd-tokenring-outgoing; Wed, 22 Apr 1998 07:18:26 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from heathers2.stdio.com (lile@heathers2.stdio.com [199.89.192.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA19621 for ; Wed, 22 Apr 1998 14:18:20 GMT (envelope-from lile@stdio.com) Received: (from lile@localhost) by heathers2.stdio.com (8.8.8/8.8.8) id KAA22546; Wed, 22 Apr 1998 10:14:53 -0400 (EDT) Date: Wed, 22 Apr 1998 10:14:52 -0400 (EDT) From: "Larry S. Lile" To: George Morgan cc: freebsd-tokenring@FreeBSD.ORG Subject: Re: code updated In-Reply-To: <19980422140304.AAA26391@gmorgan-pc.corpwest.baynetworks.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 22 Apr 1998, George Morgan wrote: > > Do we have any concensus on what the default badrate should be? > > For backward compatibility sake we should have 4 Mbps as the default, but > since UNIX users usually consider themselves as power users, maybe we > should set it to 16 Mbps :) You are probably right, some of the older cards can only run at 4Mbps and wont tell you any different and 16Mbps cards usually autodetect and report correctly. Matthew why dont you change the default speed to 4Mbps and add the ios88025.h file to your website (since you seem to be the keeper of the iso code), unless someone has objection? You should also probably clip out lines 17-46 in if_iso88025subr.h since they are now duplicated. Larry lile@stdio.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Wed Apr 22 08:22:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA00816 for freebsd-tokenring-outgoing; Wed, 22 Apr 1998 08:22:25 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from sasami.jurai.net (winter@sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA00811 for ; Wed, 22 Apr 1998 15:22:20 GMT (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id LAA09863; Wed, 22 Apr 1998 11:22:20 -0400 (EDT) Date: Wed, 22 Apr 1998 11:22:20 -0400 (EDT) From: "Matthew N. Dodd" To: George Morgan cc: freebsd-tokenring@FreeBSD.ORG Subject: Re: code updated In-Reply-To: <19980422140304.AAA26391@gmorgan-pc.corpwest.baynetworks.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 22 Apr 1998, George Morgan wrote: > > Do we have any concensus on what the default badrate should be? > > For backward compatibility sake we should have 4 Mbps as the default, but > since UNIX users usually consider themselves as power users, maybe we > should set it to 16 Mbps :) The hardware driver must supply default values IMHO. /* Matthew N. Dodd | A memory retaining a love you had for life winter@jurai.net | As cruel as it seems nothing ever seems to http://www.jurai.net/~winter | go right - FLA M 3.1:53 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Wed Apr 22 08:23:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA00903 for freebsd-tokenring-outgoing; Wed, 22 Apr 1998 08:23:15 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from charon.ccnvhi.com (wkstn.ccnvhi.com [207.247.3.162] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA00888 for ; Wed, 22 Apr 1998 15:23:08 GMT (envelope-from pnorton@ccnvhi.com) Received: by charon.ccnvhi.com; (5.65v3.2/1.3/10May95) id AA07773; Wed, 22 Apr 1998 08:23:07 -0700 Date: Wed, 22 Apr 1998 08:23:05 -0700 Message-Id: <199804221523.IAA03697@grumpy.ccnvhi.com> From: Paul Norton Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Paul_Labadie@tivoli.com Cc: tokenring@FreeBSD.ORG Subject: Re: Current work... In-Reply-To: <852565EE.004C23D7.00@notes-brahms2.tivoli.com> References: <852565EE.004C23D7.00@notes-brahms2.tivoli.com> X-Mailer: VM 6.22 under 19.15 XEmacs Lucid Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Paul_Labadie@tivoli.com writes: > not sure how most drivers handle the packet when there is no RIF, No problem. No RIF? Then it came from the local ring and not from across a source-routing bridge. BTW, we'll need to keep track of MAC addresses of network peers and their associated RIFs in a cache. > first 3 bits > 0XX = Non-Broadcast > 10X = All-Route Broadcast > 11X = Single-route broadcast > X means either a 1 or a 0. > > > since the information field follows the RI, i never understood how > a driver knows if the next field is an IF, RIF or the CRC/end code. You never see the CRC/end code. If the RII is set you know a RIF is present. The length of the RIF is encoded in the RCF, which is within the RIF and is called the LTH/Broadcast bits in your diagram. RCF may be the IBM designation. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Wed Apr 22 08:30:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA01662 for freebsd-tokenring-outgoing; Wed, 22 Apr 1998 08:30:40 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from heathers2.stdio.com (lile@heathers2.stdio.com [199.89.192.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA01653 for ; Wed, 22 Apr 1998 15:30:24 GMT (envelope-from lile@stdio.com) Received: (from lile@localhost) by heathers2.stdio.com (8.8.8/8.8.8) id LAA23669; Wed, 22 Apr 1998 11:28:02 -0400 (EDT) Date: Wed, 22 Apr 1998 11:28:01 -0400 (EDT) From: "Larry S. Lile" To: "Matthew N. Dodd" cc: George Morgan , freebsd-tokenring@FreeBSD.ORG Subject: Re: code updated In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 22 Apr 1998, Matthew N. Dodd wrote: > On Wed, 22 Apr 1998, George Morgan wrote: > > > Do we have any concensus on what the default badrate should be? > > > > For backward compatibility sake we should have 4 Mbps as the default, but > > since UNIX users usually consider themselves as power users, maybe we > > should set it to 16 Mbps :) > > The hardware driver must supply default values IMHO. The hardware driver does not supply default values it supplies actual values. We are not restricting the driver by setting a default but keeping the driver from breaking the system in case the programmer forgets to set a value. For instance the iso88025_ifattach will set baudrate to 4000000 (or 16000000) only if the current baudrate is 0. Larry lile@stdio.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Wed Apr 22 08:37:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA02175 for freebsd-tokenring-outgoing; Wed, 22 Apr 1998 08:37:18 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from charon.ccnvhi.com (wkstn.ccnvhi.com [207.247.3.162] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA02169 for ; Wed, 22 Apr 1998 15:37:14 GMT (envelope-from pnorton@ccnvhi.com) Received: by charon.ccnvhi.com; (5.65v3.2/1.3/10May95) id AA06482; Wed, 22 Apr 1998 08:35:56 -0700 Date: Wed, 22 Apr 1998 08:35:51 -0700 Message-Id: <199804221535.IAA03736@grumpy.ccnvhi.com> From: Paul Norton Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Larry S. Lile" Cc: George Morgan , freebsd-tokenring@FreeBSD.ORG Subject: Re: code updated In-Reply-To: References: <19980422140304.AAA26391@gmorgan-pc.corpwest.baynetworks.com> X-Mailer: VM 6.22 under 19.15 XEmacs Lucid Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Larry S. Lile writes: > > > On Wed, 22 Apr 1998, George Morgan wrote: > > > > Do we have any concensus on what the default badrate should be? > > > > For backward compatibility sake we should have 4 Mbps as the default, but > > since UNIX users usually consider themselves as power users, maybe we > > should set it to 16 Mbps :) 99.99% of your users will be at 16Mbps. > You are probably right, some of the older cards can only run at 4Mbps > and wont tell you any different and 16Mbps cards usually autodetect > and report correctly. Older cards won't autodetect. They just beacon your ring if set incorrectly. All IBM shared-RAM adapters and compatibles will tell you the ring speed on either open or init (I can't remember offhand) so a default isn't used in these cases (these are set by dip switch or configuration program anyway.) Autodetecting adapters fail on open with a particular error code if inserting at the wrong speed, so you can reset the speed and retry the open. In these cases the default is the last speed it successfully opened at, stored in nonvolatile storage on the adapter. So I guess my question is what is the purpose of having a default hard-coded someplace in the kernel? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Wed Apr 22 09:17:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA11588 for freebsd-tokenring-outgoing; Wed, 22 Apr 1998 09:17:53 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from sasami.jurai.net (winter@sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA11577 for ; Wed, 22 Apr 1998 16:17:49 GMT (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id MAA10487; Wed, 22 Apr 1998 12:16:30 -0400 (EDT) Date: Wed, 22 Apr 1998 12:16:30 -0400 (EDT) From: "Matthew N. Dodd" To: Paul Norton cc: "Larry S. Lile" , George Morgan , freebsd-tokenring@FreeBSD.ORG Subject: Re: code updated In-Reply-To: <199804221535.IAA03736@grumpy.ccnvhi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 22 Apr 1998, Paul Norton wrote: > So I guess my question is what is the purpose of having a default > hard-coded someplace in the kernel? Exactly nothing which was my point (and yours I believe). If the adapter can't figure out its own settings there isn't much the kernel can do for it. This isn't like ethernet were you can just blindly setup the interface media type and stomp on things. If your adapter doesn't meditate properly and achieve oneness with the ring it will not insert and we won't have to worry about ringspeed anyway :) /* Matthew N. Dodd | A memory retaining a love you had for life winter@jurai.net | As cruel as it seems nothing ever seems to http://www.jurai.net/~winter | go right - FLA M 3.1:53 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Wed Apr 22 09:22:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA13223 for freebsd-tokenring-outgoing; Wed, 22 Apr 1998 09:22:22 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from sumatra.americantv.com (sumatra.americantv.com [207.170.17.37]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA13180 for ; Wed, 22 Apr 1998 16:22:11 GMT (envelope-from jlemon@americantv.com) Received: from right.PCS (right.PCS [148.105.10.31]) by sumatra.americantv.com (8.8.5/8.8.5) with ESMTP id LAA13771; Wed, 22 Apr 1998 11:22:09 -0500 (CDT) Received: (from jlemon@localhost) by right.PCS (8.6.13/8.6.4) id LAA02141; Wed, 22 Apr 1998 11:21:38 -0500 Message-ID: <19980422112138.48655@right.PCS> Date: Wed, 22 Apr 1998 11:21:38 -0500 From: Jonathan Lemon To: "Matthew N. Dodd" Cc: freebsd-tokenring@FreeBSD.ORG Subject: Re: code updated References: <199804221535.IAA03736@grumpy.ccnvhi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.61.1 In-Reply-To: ; from Matthew N. Dodd on Apr 04, 1998 at 12:16:30PM -0400 Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Apr 04, 1998 at 12:16:30PM -0400, Matthew N. Dodd wrote: > This isn't like ethernet were you can just blindly setup the interface > media type and stomp on things. > > If your adapter doesn't meditate properly and achieve oneness with the > ring it will not insert and we won't have to worry about ringspeed anyway > :) Heh. You may be interested in the actual desg output from a Sequent SMP-NUMA machine: 04: Activating local unit... 04: I feel in sync with the universe.... 04: Have sent A_ONLINE to myself! -- Jonathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Wed Apr 22 10:38:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA28961 for freebsd-tokenring-outgoing; Wed, 22 Apr 1998 10:38:47 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from heathers2.stdio.com (lile@heathers2.stdio.com [199.89.192.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA28956 for ; Wed, 22 Apr 1998 17:38:38 GMT (envelope-from lile@stdio.com) Received: (from lile@localhost) by heathers2.stdio.com (8.8.8/8.8.8) id NAA25712; Wed, 22 Apr 1998 13:36:20 -0400 (EDT) Date: Wed, 22 Apr 1998 13:36:19 -0400 (EDT) From: "Larry S. Lile" To: Paul Norton cc: George Morgan , freebsd-tokenring@FreeBSD.ORG Subject: Re: code updated In-Reply-To: <199804221535.IAA03736@grumpy.ccnvhi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 22 Apr 1998, Paul Norton wrote: > Larry S. Lile writes: > > > > > > On Wed, 22 Apr 1998, George Morgan wrote: > > > > > > Do we have any concensus on what the default badrate should be? > > > > > > For backward compatibility sake we should have 4 Mbps as the default, but > > > since UNIX users usually consider themselves as power users, maybe we > > > should set it to 16 Mbps :) > > 99.99% of your users will be at 16Mbps. > > > You are probably right, some of the older cards can only run at 4Mbps > > and wont tell you any different and 16Mbps cards usually autodetect > > and report correctly. > > Older cards won't autodetect. They just beacon your ring if set > incorrectly. All IBM shared-RAM adapters and compatibles will tell you > the ring speed on either open or init (I can't remember offhand) so a > default isn't used in these cases (these are set by dip switch or > configuration program anyway.) Autodetecting adapters fail on open > with a particular error code if inserting at the wrong speed, so you > can reset the speed and retry the open. In these cases the default is > the last speed it successfully opened at, stored in nonvolatile > storage on the adapter. So I guess my question is what is the purpose > of having a default hard-coded someplace in the kernel? The purpose is for consistency, the ethernet and other drivers make sure that they have a sane value available. The added benefit it that if someone forgets to set something they can be kept from crashing the kernel. These things are more just sanity numbers, what would happen if your baudrate was 0? What if you received a packet with 50000 bytes (because someone else stepped on you mbuf)? Chances are if you write your code correctly and dont do any thing incredibly stupid you will never see these. The attach routine will not touch your baudrate or mtu if you have already set them. It is just there as a safety net. Larry lile@stdio.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Wed Apr 22 11:04:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA03663 for freebsd-tokenring-outgoing; Wed, 22 Apr 1998 11:04:04 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from sasami.jurai.net (winter@sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA03612 for ; Wed, 22 Apr 1998 18:03:58 GMT (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id OAA12016; Wed, 22 Apr 1998 14:03:46 -0400 (EDT) Date: Wed, 22 Apr 1998 14:03:46 -0400 (EDT) From: "Matthew N. Dodd" To: "Larry S. Lile" cc: Paul Norton , George Morgan , freebsd-tokenring@FreeBSD.ORG Subject: Re: code updated In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 22 Apr 1998, Larry S. Lile wrote: > The purpose is for consistency, the ethernet and other drivers make sure > that they have a sane value available. The added benefit it that if > someone forgets to set something they can be kept from crashing the > kernel. It won't get far enough to crash. Doing things just because ethernet does them isn't going to make a whole lot of sense. I'm rather annoyed with all the ethernetisms in the kernel now. If I had more free time and was only slightly more insane than I am now I believe that I'd consider rewriting a good bit of the network bits and rearranging others. > These things are more just sanity numbers, what would happen if your > baudrate was 0? What if you received a packet with 50000 bytes > (because someone else stepped on you mbuf)? Nothing, because all the relevent code checks to see if the network innterface is up before attempting to write packets. > Chances are if you write your code correctly and dont do any thing > incredibly stupid you will never see these. The attach routine will not > touch your baudrate or mtu if you have already set them. It is just > there as a safety net. I agree that we should test for hard and fast limits. MTU isn't one of the things we can determine a hard and fast limit for as its up to the adapter to provide the constraints for the MTU. (ring speed and buffer size). /* Matthew N. Dodd | A memory retaining a love you had for life winter@jurai.net | As cruel as it seems nothing ever seems to http://www.jurai.net/~winter | go right - FLA M 3.1:53 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Wed Apr 22 13:46:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA18019 for freebsd-tokenring-outgoing; Wed, 22 Apr 1998 13:46:34 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from sasami.jurai.net (winter@sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA17915 for ; Wed, 22 Apr 1998 20:46:17 GMT (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id QAA14375 for ; Wed, 22 Apr 1998 16:46:15 -0400 (EDT) Date: Wed, 22 Apr 1998 16:46:14 -0400 (EDT) From: "Matthew N. Dodd" To: tokenring@FreeBSD.ORG Subject: Good news for TI based cards... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It appears that TI has most of the doc up for their TI380 line of token ring chips... The Proteon cards use TI chips so driver support for these cards looks to be possible... Everyone check your cards and compile a list of chips they all use. I'll put up a hardware page with details and pointers for each card. (Anyone know where to get part#s and jumper doc for the IBM cards?) /* Matthew N. Dodd | A memory retaining a love you had for life winter@jurai.net | As cruel as it seems nothing ever seems to http://www.jurai.net/~winter | go right - FLA M 3.1:53 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Thu Apr 23 08:08:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA12978 for freebsd-tokenring-outgoing; Thu, 23 Apr 1998 08:08:31 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from sasami.jurai.net (winter@sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA12950 for ; Thu, 23 Apr 1998 08:08:12 -0700 (PDT) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id LAA27870; Thu, 23 Apr 1998 11:08:01 -0400 (EDT) Date: Thu, 23 Apr 1998 11:08:01 -0400 (EDT) From: "Matthew N. Dodd" To: George Morgan cc: tokenring@FreeBSD.ORG Subject: Re: Good news for TI based cards... In-Reply-To: <19980423145847.AAA9952@gmorgan-pc.corpwest.baynetworks.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 23 Apr 1998, George Morgan wrote: > My Madge uses the TMS380C16 which I have the complete hardware and > software developers book for (Bay used it on one of their token ring > concentrator boards so they have the book) The TMS380C16 and the TMS380C26 are completly compatible with eachother (TI has only the databooks for the C26 on their website). > It also has a Madge proprietary chip that I don't think I will be able > to get any docs for unless I get the Device driver developers kit... I need to sit down with the databooks and figure out what the proprietory chips are. Some of my proteon cards have chips additional to the TI chips. /* Matthew N. Dodd | A memory retaining a love you had for life winter@jurai.net | As cruel as it seems nothing ever seems to http://www.jurai.net/~winter | go right - FLA M 3.1:53 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Thu Apr 23 09:14:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA28245 for freebsd-tokenring-outgoing; Thu, 23 Apr 1998 09:14:00 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from freefall.pipeline.ch (intranet.pipeline.ch [195.134.128.66]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA28208 for ; Thu, 23 Apr 1998 09:13:28 -0700 (PDT) (envelope-from andre@pipeline.ch) Received: from pipeline.ch ([195.134.128.41]) by freefall.pipeline.ch (Netscape Mail Server v2.02) with ESMTP id AAA316 for ; Thu, 23 Apr 1998 18:11:33 +0200 Message-ID: <353F6861.2E946067@pipeline.ch> Date: Thu, 23 Apr 1998 18:12:17 +0200 From: "IBS / Andre Oppermann" Organization: Internet Business Solutions Ltd. (AG) X-Mailer: Mozilla 4.03 [en] (WinNT; U) MIME-Version: 1.0 To: tokenring@FreeBSD.ORG Subject: DIP switches on IBM cards Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Just found the docs for an IBM 16bit 16/4 TokenRing card... DIP Switch Block S1: (* default) S1-1, Media Type, on*=STP (DB9 connector) off=UTP (RJ45 connector) S1-2, Remote Program Load (RPL) on*=RPL enable off=RPL disable DIP Switch Block S2: S2-1..6, ROM address OFF-ON-ON-OFF-OFF-ON*=ROM address CC000 OFF-ON-OFF-OFF-OFF-ON=ROM address DC000 S2-7..8, Interrupt ON-ON*=IRQ2 ON-OFF=IRQ3 OFF-ON=IRQ6 OFF-OFF=IRQ7 S2-9, Primary Aternate Switch ON= Alternate Adapter OFF*=Primary Adapter S2-10..11, Shared RAM ON-ON= 8KB OFF-ON*=16KB ON-OFF= 32KB OFF-OFF=64KB S2-12, Data Rate OFF*=16Mbps ON =4Mbps Jumper for 8/16Bit Mode (of the ISA Bus) 3Pin Jumper in the upper left, next to the DIP switches 1-2=8-bit Mode 2-3=8/16bit Mode autoselect/detect Hope that helps... -- Andre Oppermann CEO / Geschaeftsfuehrer Internet Business Solutions Ltd. (AG) Hardstrasse 235, 8005 Zurich, Switzerland Fon +41 1 277 75 75 / Fax +41 1 277 75 77 http://www.pipeline.ch ibs@pipeline.ch To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Thu Apr 23 11:34:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA29253 for freebsd-tokenring-outgoing; Thu, 23 Apr 1998 11:34:18 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from sasami.jurai.net (winter@sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA29176 for ; Thu, 23 Apr 1998 11:33:47 -0700 (PDT) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id OAA00862; Thu, 23 Apr 1998 14:33:44 -0400 (EDT) Date: Thu, 23 Apr 1998 14:33:43 -0400 (EDT) From: "Matthew N. Dodd" To: IBS / Andre Oppermann cc: tokenring@FreeBSD.ORG Subject: Re: DIP switches on IBM cards In-Reply-To: <353F6861.2E946067@pipeline.ch> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 23 Apr 1998, IBS / Andre Oppermann wrote: > Just found the docs for an IBM 16bit 16/4 TokenRing card... [snip] Thanks! I'll HTMLify this and put it on the to be created hardware section of the page. /* Matthew N. Dodd | A memory retaining a love you had for life winter@jurai.net | As cruel as it seems nothing ever seems to http://www.jurai.net/~winter | go right - FLA M 3.1:53 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Fri Apr 24 08:58:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA24036 for freebsd-tokenring-outgoing; Fri, 24 Apr 1998 08:58:55 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from horse.fsinet.or.jp (horse.fsinet.or.jp [202.239.206.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA23975 for ; Fri, 24 Apr 1998 08:58:42 -0700 (PDT) (envelope-from keiji@tamlab.dnj.ynu.ac.jp) Received: from poker.wada (ppp-kw111.fsinet.or.jp [202.215.9.185]) by horse.fsinet.or.jp (8.8.5/3.5Wpl5) with ESMTP id AAA25726 for ; Sat, 25 Apr 1998 00:58:33 +0900 (JST) Received: from localhost (localhost [127.0.0.1]) by poker.wada (8.8.7/3.6Wbeta7) with ESMTP id AAA10734 for ; Sat, 25 Apr 1998 00:58:21 +0900 (JST) Message-Id: <199804241558.AAA10734@poker.wada> To: tokenring@FreeBSD.ORG Subject: IBM tokenring From: Keiji Wada X-Mailer: Mew version 1.70 on Emacs 19.28.1 / Mule 2.3 X-Pgp-Fingerprint: A1 51 84 CC 76 61 EF 8D 31 0B D4 E6 AF 6A EF 9D X-Url: http://www.tamlab.dnj.ynu.ac.jp/~keiji/ Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sat, 25 Apr 1998 00:58:21 +0900 Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I tried IBM tokenring card on FreeBSD2.2.5R. But card was found in boot process only. When using ifconfig to specify IP, panic!. Plese teach me what is wrong. I patched this sources. -rw-r--r-- 1 keiji trump - 537 Apr 24 22:58 files.i386.patch -rw-r--r-- 1 keiji trump - 19044 Apr 24 22:58 if_tok.c -rw-r--r-- 1 keiji trump - 7422 Apr 24 22:58 if_tokreg.h -rw-r--r-- 1 keiji trump - 10741 Apr 24 22:58 if_tokvar.h -rw-r--r-- 1 keiji trump - 671 Apr 24 22:58 userconfig.c.patch Regards. --- Keiji Wada To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Fri Apr 24 09:19:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA28420 for freebsd-tokenring-outgoing; Fri, 24 Apr 1998 09:19:03 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from sasami.jurai.net (winter@sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA28350 for ; Fri, 24 Apr 1998 09:18:45 -0700 (PDT) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id MAA17078; Fri, 24 Apr 1998 12:18:30 -0400 (EDT) Date: Fri, 24 Apr 1998 12:18:30 -0400 (EDT) From: "Matthew N. Dodd" To: Keiji Wada cc: tokenring@FreeBSD.ORG Subject: Re: IBM tokenring In-Reply-To: <199804241558.AAA10734@poker.wada> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 25 Apr 1998, Keiji Wada wrote: > I tried IBM tokenring card on FreeBSD2.2.5R. But card was found in > boot process only. When using ifconfig to specify IP, panic!. > > Plese teach me what is wrong. I guess I should probably put nice big bright flashing warnings that indicate that nothing on that webpage is finished or likely to work in a useful manner. When the drivers and related source works, we'll get it committed to -current and it will work. Until then its under development. /* Matthew N. Dodd | A memory retaining a love you had for life winter@jurai.net | As cruel as it seems nothing ever seems to http://www.jurai.net/~winter | go right - FLA M 3.1:53 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Fri Apr 24 10:34:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA08407 for freebsd-tokenring-outgoing; Fri, 24 Apr 1998 10:34:46 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from heathers2.stdio.com (lile@heathers2.stdio.com [199.89.192.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA08381 for ; Fri, 24 Apr 1998 10:34:11 -0700 (PDT) (envelope-from lile@stdio.com) Received: (from lile@localhost) by heathers2.stdio.com (8.8.8/8.8.8) id NAA25959; Fri, 24 Apr 1998 13:31:44 -0400 (EDT) Date: Fri, 24 Apr 1998 13:31:43 -0400 (EDT) From: "Larry S. Lile" To: Keiji Wada cc: tokenring@FreeBSD.ORG Subject: Re: IBM tokenring In-Reply-To: <199804241558.AAA10734@poker.wada> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 25 Apr 1998, Keiji Wada wrote: > I tried IBM tokenring card on FreeBSD2.2.5R. But card was found in > boot process only. When using ifconfig to specify IP, panic!. Ooops! :) The earlier versions of this would let you configure the card but as work has continued, specifically the ioctl code, I have missed some detail that cases a page fault in ifconfig. The code will not affect normal operations so long as you leave it unconfigured. I would really appreciate it if you would send me a copy of your dmesg, netstat -I tok0 and ifconfig tok0 so that I can double check that things are working on more than just my test/dev machine. Also, and I understand if you cant, could you send me the output from the panic you got? It may help track down the problem. Larry Lile lile@stdio.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message