Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2002 11:16:49 +0300 (MSK)
From:      Maxim Konovalov <maxim@macomnet.ru>
To:        Luigi Rizzo <luigi@FreeBSD.ORG>
Cc:        current@FreeBSD.ORG
Subject:   Re: is 'device ether' mandatory now?
Message-ID:  <20020326105503.H58050-100000@news1.macomnet.ru>
In-Reply-To: <20020324052056.B87371@iguana.icir.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020326105503.H58050-100000>