From owner-freebsd-bugs Thu Jun 25 03:30:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA07742 for freebsd-bugs-outgoing; Thu, 25 Jun 1998 03:30:25 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA07732 for ; Thu, 25 Jun 1998 03:30:21 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id DAA20991; Thu, 25 Jun 1998 03:30:02 -0700 (PDT) Date: Thu, 25 Jun 1998 03:30:02 -0700 (PDT) Message-Id: <199806251030.DAA20991@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Poul-Henning Kamp Subject: Re: kern/7044 Reply-To: Poul-Henning Kamp Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/7044; it has been noted by GNATS. From: Poul-Henning Kamp To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: kern/7044 Date: Thu, 25 Jun 1998 12:21:04 +0200 From: Max Gotlib 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 > ------- End of Forwarded Message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message