From owner-freebsd-current Tue Mar 26 0:17: 0 2002 Delivered-To: freebsd-current@freebsd.org Received: from relay1.macomnet.ru (relay1.macomnet.ru [195.128.64.10]) by hub.freebsd.org (Postfix) with ESMTP id 559CB37B400; Tue, 26 Mar 2002 00:16:51 -0800 (PST) Received: from news1.macomnet.ru (maxim@news1.macomnet.ru [195.128.64.14]) by relay1.macomnet.ru (8.11.6/8.11.6) with ESMTP id g2Q8GnE9202032; Tue, 26 Mar 2002 11:16:49 +0300 (MSK) Date: Tue, 26 Mar 2002 11:16:49 +0300 (MSK) From: Maxim Konovalov To: Luigi Rizzo Cc: current@FreeBSD.ORG Subject: Re: is 'device ether' mandatory now? In-Reply-To: <20020324052056.B87371@iguana.icir.org> Message-ID: <20020326105503.H58050-100000@news1.macomnet.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 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