From owner-freebsd-current@FreeBSD.ORG Fri Jan 27 04:04:37 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 2FE2616A420 for ; Fri, 27 Jan 2006 04:04:37 +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 AE37443D46 for ; Fri, 27 Jan 2006 04:04:36 +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 k0R42nkr058051; Thu, 26 Jan 2006 21:02:50 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Thu, 26 Jan 2006 21:03:22 -0700 (MST) Message-Id: <20060126.210322.56187611.imp@bsdimp.com> To: rizzo@icir.org From: "M. Warner Losh" In-Reply-To: <20060124075437.B67285@xorpc.icir.org> References: <20060124075437.B67285@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]); Thu, 26 Jan 2006 21:02:50 -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 04:04:37 -0000 In message: <20060124075437.B67285@xorpc.icir.org> Luigi Rizzo writes: : - some drivers try to manipulate flags that they should not e.g. : if_ed : sets IFF_ALTPHYS (IFF_LINK*, but it is almost a capability here) Why is this wrong? Warner