From owner-freebsd-current Tue Mar 26 0:25:22 2002 Delivered-To: freebsd-current@freebsd.org Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 5841C37B419 for ; Tue, 26 Mar 2002 00:25:09 -0800 (PST) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g2Q8P4H06398; Tue, 26 Mar 2002 00:25:04 -0800 (PST) (envelope-from rizzo) Date: Tue, 26 Mar 2002 00:25:04 -0800 From: Luigi Rizzo To: Maxim Konovalov Cc: current@FreeBSD.ORG Subject: Re: is 'device ether' mandatory now? Message-ID: <20020326002504.A6127@iguana.icir.org> References: <20020324052056.B87371@iguana.icir.org> <20020326105503.H58050-100000@news1.macomnet.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020326105503.H58050-100000@news1.macomnet.ru> User-Agent: Mutt/1.3.23i 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 i'd rather fix the change so that ether is not mandatory. Let me think/experiment a bit about it. cheers luigi On Tue, Mar 26, 2002 at 11:16:49AM +0300, Maxim Konovalov wrote: > > Hello Luigi, > > On 05:20-0800, Mar 24, 2002, Luigi Rizzo wrote: > > > Do you have a suggestion for an #ifdef /#endif to > > remove the problem you mention ? > > Frankly speaking, I have no solution atm. But IMHO we should fix LINT > and warn our -stable users at least. > > Something like that: > > Index: sys/i386/conf/LINT > =================================================================== > RCS file: /home/ncvs/src/sys/i386/conf/Attic/LINT,v > retrieving revision 1.749.2.106 > diff -u -r1.749.2.106 LINT > --- sys/i386/conf/LINT 2002/03/11 01:23:05 1.749.2.106 > +++ sys/i386/conf/LINT 2002/03/26 08:06:56 > @@ -468,8 +468,8 @@ > # Network interfaces: > # The `loop' pseudo-device is MANDATORY when networking is enabled. > # The `ether' pseudo-device provides generic code to handle > -# Ethernets; it is MANDATORY when a Ethernet device driver is > -# configured or token-ring is enabled. > +# Ethernets; it is MANDATORY when the Internet communication > +# protocols family (INET) is configured. > # The 'fddi' pseudo-device provides generic code to support FDDI. > # The `arcnet' pseudo-device provides generic code to support Arcnet. > # The `sppp' pseudo-device serves a similar role for certain types > Index: NOTES > =================================================================== > RCS file: /home/ncvs/src/sys/i386/conf/NOTES,v > retrieving revision 1.1011 > diff -u -r1.1011 NOTES > --- NOTES 2002/03/23 18:39:54 1.1011 > +++ NOTES 2002/03/26 08:08:48 > @@ -521,8 +521,8 @@ > # Network interfaces: > # The `loop' device is MANDATORY when networking is enabled. > # The `ether' device provides generic code to handle > -# Ethernets; it is MANDATORY when a Ethernet device driver is > -# configured or token-ring is enabled. > +# Ethernets; it is MANDATORY when the Internet communication > +# protocols family (INET) is configured. > # The `fddi' device provides generic code to support FDDI. > # The `arcnet' device provides generic code to support Arcnet. > # The `sppp' device serves a similar role for certain types > > %%% > > I believe handbook is affected too. > > > cheers > > luigi > > > > On Sat, Mar 23, 2002 at 08:50:19PM +0300, Maxim Konovalov wrote: > > > > > > Hello, > > > > > > After this commit 'device ether' is mandatory if ever there is no any > > > ethernet or token-ring devices. > > > > > > | luigi 2002/02/18 14:50:13 PST > > > | > > > | Modified files: > > > | sys/net if.c > > > | Log: > > > | When the local link address is changed, send out gratuitous ARPs > > > | to notify other nodes about the address change. Otherwise, they > > > | might try and keep using the old address until their arp table > > > | entry times out and the address is refreshed. > > > | > > > | Maybe this ought to be done for INET6 addresses as well but i have > > > | no idea how to do it. It should be pretty straightforward though. > > > | > > > | MFC-after: 10 days > > > | > > > | Revision Changes Path > > > | 1.128 +11 -0 src/sys/net/if.c > > > > > > -- > > > Maxim Konovalov, MAcomnet, Internet-Intranet Dept., system engineer > > > phone: +7 (095) 796-9079, mailto:maxim@macomnet.ru > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-current" in the body of the message > > > > > > -- > Maxim Konovalov, MAcomnet, Internet-Intranet Dept., system engineer > phone: +7 (095) 796-9079, mailto:maxim@macomnet.ru > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message