NetBSD Problem Report #48950

From  Wed Jun 25 16:29:45 2014
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer "Postmaster" (verified OK))
	by (Postfix) with ESMTPS id BE143A650D
	for <>; Wed, 25 Jun 2014 16:29:45 +0000 (UTC)
Message-Id: <>
Date: Thu, 26 Jun 2014 01:29:42 +0900 (JST)
Subject: Some ethernet intetfaces can't change flow control setting.
X-Send-Pr-Version: 3.95

>Number:         48950
>Category:       kern
>Synopsis:       Some ethernet interfaces can't change flow control setting.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 25 16:30:00 +0000 2014
>Last-Modified:  Thu Jun 26 07:55:01 +0000 2014
>Originator:     SAITOH Masanobu
>Release:        all
Architecture: all
Machine: all
	Some ethernet interfaces can't change the setting of flow control.

	e.g. bnx:

		# ifconfig bnx0 mediaopt flow
		ifconfig: SIOCSIFMEDIA: Invalid argument

	See above.
	The reason is that the MIIF_DOPAUSE mask isn't passed to
	mii_attach(). Set MIIF_DOPAUSE mask in drivers which support
	the flow control.



From: "SAITOH Masanobu" <>
Subject: PR/48950 CVS commit: src/sys/arch/powerpc/ibm4xx/dev
Date: Thu, 26 Jun 2014 07:50:29 +0000

 Module Name:	src
 Committed By:	msaitoh
 Date:		Thu Jun 26 07:50:29 UTC 2014

 Modified Files:
 	src/sys/arch/powerpc/ibm4xx/dev: if_emac.c

 Log Message:
  Pass MIIF_DOPAUSE mask to mii_attach() in if_emac.c. emac(4) change a
 register from IFM_FLOW flag, so this change is required to control the
 setting via ifconfig. PR#48950. OK'd by matt@.

 To generate a diff of this commit:
 cvs rdiff -u -r1.41 -r1.42 src/sys/arch/powerpc/ibm4xx/dev/if_emac.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.