From owner-freebsd-current@FreeBSD.ORG Fri Jan 27 16:58:42 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 65CA216A420 for ; Fri, 27 Jan 2006 16:58:42 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDE3043D49 for ; Fri, 27 Jan 2006 16:58:41 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.3/8.13.3) with ESMTP id k0RGtjHk069548; Fri, 27 Jan 2006 09:55:45 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Fri, 27 Jan 2006 09:55:44 -0700 (MST) Message-Id: <20060127.095544.108374605.imp@bsdimp.com> To: rizzo@icir.org From: "M. Warner Losh" In-Reply-To: <20060127005500.A38764@xorpc.icir.org> References: <20060126225244.B37507@xorpc.icir.org> <20060127.003927.08393947.imp@bsdimp.com> <20060127005500.A38764@xorpc.icir.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Fri, 27 Jan 2006 09:55:45 -0700 (MST) Cc: current@freebsd.org Subject: Re: if_flags usage etc. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2006 16:58:42 -0000 In message: <20060127005500.A38764@xorpc.icir.org> Luigi Rizzo writes: : On Fri, Jan 27, 2006 at 12:39:27AM -0700, M. Warner Losh wrote: : ... : > Actually, the ifmedia approach has a cleaner way of dealing. mii uses : > ifmedia. ifmedia reports all the possible media types to ifconfig, : > and then reports its status. mii has a nearly identical way of : > doing this for devices with mii busses, or pseudo mii busses. : > : > ed should likely be fully converted to using ifmedia, but I'm not sure : > I want to risk breaking ISA cards that I don't have access to to make : > it so. I just don't have the time... : : to tell the truth, -current is so heavyweight for obsolete : hardware that i wonder what is the point of trying to support : old hardware that nobody has anymore, or on which nobody : would upgrade the OS from 4.x to 7.x : : Not that i have plans to revise the 'ed' driver' but if : someone has such plans, this shouldn't be a concern : that stops us. You would not believe the number of people that complain loudly when it does break. Most other cards I wouldn't worry about at all, but there are still a lot of machines with these old klunky cards... :-( I know that it surprised me... I've also checked if_ed, and it only sets ALTPHYS before it attaches the ifnet. I've also modified it a bit to use LINK2 to match the documentation... Warner