From owner-freebsd-current Fri Dec 21 18:27:26 2001 Delivered-To: freebsd-current@freebsd.org Received: from white.imgsrc.co.jp (ns.imgsrc.co.jp [210.226.20.2]) by hub.freebsd.org (Postfix) with ESMTP id 21B1137B416 for ; Fri, 21 Dec 2001 18:27:15 -0800 (PST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2:206:5bff:fe05:7829]) by white.imgsrc.co.jp (Postfix) with ESMTP id 10D2D24D32 for ; Sat, 22 Dec 2001 11:27:14 +0900 (JST) Received: from waterblue.imgsrc.co.jp (waterblue.imgsrc.co.jp [2001:218:422:2:230:48ff:fe41:161b]) by black.imgsrc.co.jp (Postfix) with ESMTP id DEF821E4812 for ; Sat, 22 Dec 2001 11:27:12 +0900 (JST) Date: Sat, 22 Dec 2001 11:27:11 +0900 Message-ID: <7md718f0qo.wl@waterblue.imgsrc.co.jp> From: Jun Kuriyama To: Current Subject: Forward: if_fxp.c typo? References: <86y9kzqjlr.wl@keiichi01.osaka.iij.ad.jp> User-Agent: Wanderlust/2.6.0 (Twist And Shout) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.1 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: multipart/mixed; boundary="Multipart_Sat_Dec_22_11:27:11_2001-2" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --Multipart_Sat_Dec_22_11:27:11_2001-2 Content-Type: text/plain; charset=US-ASCII Hmm, -current has same problem. It should fix in -current... --Multipart_Sat_Dec_22_11:27:11_2001-2 Content-Type: multipart/digest; boundary="Multipart_Sat_Dec_22_11:27:11_2001-1" Content-Transfer-Encoding: 7bit --Multipart_Sat_Dec_22_11:27:11_2001-1 Content-Type: message/rfc822 From: Keiichi SHIMA / =?ISO-2022-JP?B?GyRCRWc3RDBsGyhC?= Subject: if_fxp.c typo? Date: Thu, 22 Nov 2001 08:47:09 +0000 (UTC) Sender: owner-freebsd-stable@FreeBSD.ORG Message-ID: <86y9kzqjlr.wl@keiichi01.osaka.iij.ad.jp> Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@freebsd.org X-Original-Date: Thu, 22 Nov 2001 17:45:52 +0900 User-Agent: Wanderlust/2.6.0 (Twist And Shout) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-1?Q?Unebigory=F2mae?=) APEL/10.2 MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Precedence: bulk Hi all, fxp_stop() of the latest fxp driver do SOFTWARE_RESET when called. Shouldn't this be SELECTIVE_RESET? As I'm not familiar with fxp, would someone check and commit it to the repositry? The current code clears all the hardware mc filters already set, as a result, the box can't receive any multicast packets (this is a serious problem especially when using ipv6). --- Keiichi SHIMA IIJ Research Laboratory KAME Project --- orig/if_fxp.c Thu Nov 8 18:30:10 2001 +++ if_fxp.c Thu Nov 22 17:22:38 2001 @@ -1429,7 +1429,7 @@ * Issue software reset, which also unloads the microcode. */ sc->flags &= ~FXP_FLAG_UCODE; - CSR_WRITE_4(sc, FXP_CSR_PORT, FXP_PORT_SOFTWARE_RESET); + CSR_WRITE_4(sc, FXP_CSR_PORT, FXP_PORT_SELECTIVE_RESET); DELAY(50); /* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message --Multipart_Sat_Dec_22_11:27:11_2001-1 Content-Type: message/rfc822 From: Jun Kuriyama Subject: Re: if_fxp.c typo? Date: Wed, 19 Dec 2001 23:32:50 +0000 (UTC) Sender: owner-freebsd-stable@FreeBSD.ORG Message-ID: <7mn10ebxbp.wl@waterblue.imgsrc.co.jp> References: <86y9kzqjlr.wl@keiichi01.osaka.iij.ad.jp> Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=ISO-2022-JP To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@freebsd.org X-Original-Date: Thu, 20 Dec 2001 08:32:26 +0900 In-Reply-To: <86y9kzqjlr.wl@keiichi01.osaka.iij.ad.jp> User-Agent: Wanderlust/2.6.0 (Twist And Shout) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.1 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Precedence: bulk I noticed this fixes my problem, but I don't know this patch is logically correct or not. I think we should commit this before 4.5-RELEASE if this is correct way. Can someone comment this? At Thu, 22 Nov 2001 08:47:09 +0000 (UTC), Keiichi SHIMA / 島慶一 wrote: > fxp_stop() of the latest fxp driver do SOFTWARE_RESET when called. > Shouldn't this be SELECTIVE_RESET? > > As I'm not familiar with fxp, would someone check and commit it to the > repositry? The current code clears all the hardware mc filters > already set, as a result, the box can't receive any multicast packets > (this is a serious problem especially when using ipv6). ... > --- orig/if_fxp.c Thu Nov 8 18:30:10 2001 > +++ if_fxp.c Thu Nov 22 17:22:38 2001 > @@ -1429,7 +1429,7 @@ > * Issue software reset, which also unloads the microcode. > */ > sc->flags &= ~FXP_FLAG_UCODE; > - CSR_WRITE_4(sc, FXP_CSR_PORT, FXP_PORT_SOFTWARE_RESET); > + CSR_WRITE_4(sc, FXP_CSR_PORT, FXP_PORT_SELECTIVE_RESET); > DELAY(50); > > /* -- Jun Kuriyama // IMG SRC, Inc. // FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message --Multipart_Sat_Dec_22_11:27:11_2001-1-- --Multipart_Sat_Dec_22_11:27:11_2001-2-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message