From owner-cvs-all Fri Dec 14 14: 5:56 2001 Delivered-To: cvs-all@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 132ED37B405; Fri, 14 Dec 2001 14:05:48 -0800 (PST) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.3/8.11.1) id fBEM5l753259; Fri, 14 Dec 2001 14:05:47 -0800 (PST) (envelope-from rizzo) Date: Fri, 14 Dec 2001 14:05:47 -0800 From: Luigi Rizzo To: Jonathan Lemon Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/net if_var.h Message-ID: <20011214140547.A53193@iguana.aciri.org> References: <200112141938.fBEJcao39840@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200112141938.fBEJcao39840@freefall.freebsd.org> User-Agent: Mutt/1.3.23i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Dec 14, 2001 at 11:38:36AM -0800, Jonathan Lemon wrote: > jlemon 2001/12/14 11:38:36 PST > > Modified files: (Branch: RELENG_4) > sys/net if_var.h > Log: > MFC: r1.37; add entries for network device capabilitis. > > This is done in a different form; instead of adding new entries to > 'struct ifnet', we coopt several unused fields in the structure instead, > in order to preserve binary compatability with previous releases. I don't understand this. Since you haven't put a #define for if_done and if_poll_recv, any code that might have used them is going to break, so you might as well have just replaced the old fields with the new ones. Am I wrong ? cheers luigi ----------------------------------+----------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . ACIRI/ICSI (on leave from Univ. di Pisa) http://www.iet.unipi.it/~luigi/ . 1947 Center St, Berkeley CA 94704 Phone: (510) 666 2927 ----------------------------------+----------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message