From owner-freebsd-bugs Thu Jun 25 03:17:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA05564 for freebsd-bugs-outgoing; Thu, 25 Jun 1998 03:17:18 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from linux.cca.usart.ru (max@linux.cca.usart.ru [194.226.230.161]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA05356; Thu, 25 Jun 1998 03:15:35 -0700 (PDT) (envelope-from max@cca.usart.ru) Received: from localhost (max@localhost) by linux.cca.usart.ru (8.8.6/8.8.4) with SMTP id QAA16239; Thu, 25 Jun 1998 16:20:58 -0600 Date: Thu, 25 Jun 1998 16:20:58 -0600 (GMT+6) From: Max Gotlib To: Poul-Henning Kamp cc: freebsd-bugs@FreeBSD.ORG Subject: Re: kern/7044 In-Reply-To: <199806250731.AAA19306@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Gurus! Here the diff is (i've used "diff -r -u sys sys.NEW" while being in the /usr/src directory and having 2.2.6-RELEASE src tree in "sys" and patched one in "sys.NEW"): /*----------------------Start-----------------------------*/ diff -u -r sys/i386/include/if_wl_wavelan.h sys.NEW/i386/include/if_wl_wavelan.h --- sys/i386/include/if_wl_wavelan.h Sat Mar 7 21:47:01 1998 +++ sys.NEW/i386/include/if_wl_wavelan.h Thu Jun 25 15:59:49 1998 @@ -119,9 +119,9 @@ #define WLPSA_QUALTHRESH 0x21 /* RF modem quality threshold preset */ #define WLPSA_HWVERSION 0x22 /* hardware version indicator */ #define WLPSA_NWID 0x23 /* network ID */ -#define WLPSA_NWIDENABLE 0x24 /* network ID enable */ -#define WLPSA_SECURITY 0x25 /* datalink security enable */ -#define WLPSA_DESKEY 0x26 /* datalink security DES key */ +#define WLPSA_NWIDENABLE 0x25 /* network ID enable */ +#define WLPSA_SECURITY 0x26 /* datalink security enable */ +#define WLPSA_DESKEY 0x27 /* datalink security DES key */ #define WLPSA_DBWIDTH 0x2f /* databus width select */ #define WLPSA_CALLCODE 0x30 /* call code (japan only) */ #define WLPSA_CONFIGURED 0x3c /* configuration status */ diff -u -r sys/i386/isa/if_wl.c sys.NEW/i386/isa/if_wl.c --- sys/i386/isa/if_wl.c Tue Aug 26 04:34:25 1997 +++ sys.NEW/i386/isa/if_wl.c Thu Jun 25 16:01:08 1998 @@ -733,6 +733,7 @@ sc->hacr = HACR_DEFAULT; CMD(unit); + wlinitmmc(unit); #ifdef WLDEBUG if (sc->wl_if.if_flags & IFF_DEBUG) wlmmcstat(unit); /* Display MMC registers */ @@ -2173,8 +2174,6 @@ if(wlcmd(unit, "config()-address") == 0) return(0); - - wlinitmmc(unit); return(1); } /*---------------------The End--------------------------------*/ Since I hava access only to my WaveLAN board, I'm not sure if this patch is usable with new (espacially new IEEE WaveLAN) boards, but since it was done upon Linux driver (that seems to be OK for all kinds) I hope it will be usable during 2.2.7 releasing... BTW, this patch was applied to the INRIA IPv6 distribution as well as to ALTQ-1.0.1... Everything seems to be OK (our router works at least for one month unattended)... With best regards, Max. On Thu, 25 Jun 1998, Poul-Henning Kamp wrote: > Date: Thu, 25 Jun 1998 00:31:39 -0700 (PDT) > From: Poul-Henning Kamp > To: max@cca.usart.ru, phk@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG > Subject: Re: kern/7044 > > Old Synopsis: WaveLAN (2.4G, ISA, full-length board) cames UP but not RUNNING > New Synopsis: [PATCH] WaveLAN (2.4G, ISA, full-length board) cames UP but not RUNNING > > State-Changed-From-To: open-suspended > State-Changed-By: phk > State-Changed-When: Thu Jun 25 00:30:40 PDT 1998 > State-Changed-Why: > Please submit a context diff patch (diff -u or -c) > > awaiting committer > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-bugs" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message