Date: Thu, 25 Jun 1998 03:30:02 -0700 (PDT) From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: freebsd-bugs@FreeBSD.ORG Subject: Re: kern/7044 Message-ID: <199806251030.DAA20991@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR kern/7044; it has been noted by GNATS.
From: Poul-Henning Kamp <phk@critter.freebsd.dk>
To: freebsd-gnats-submit@freebsd.org
Cc: Subject: Re: kern/7044
Date: Thu, 25 Jun 1998 12:21:04 +0200
From: Max Gotlib <max@cca.usart.ru>
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 <phk@FreeBSD.ORG>
> 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
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806251030.DAA20991>
