From owner-freebsd-bugs Fri Apr 19 12:50:16 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3537737B41B for ; Fri, 19 Apr 2002 12:50:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3JJo3W42387; Fri, 19 Apr 2002 12:50:03 -0700 (PDT) (envelope-from gnats) Received: from kabir.zssm.zp.ua (kabir.zssm.zp.ua [212.8.32.6]) by hub.freebsd.org (Postfix) with ESMTP id 285D437B404 for ; Fri, 19 Apr 2002 12:46:40 -0700 (PDT) Received: (from eugene@localhost) by kabir.zssm.zp.ua (8.9.3/8.9.3) id WAA18269; Fri, 19 Apr 2002 22:45:42 +0300 (EEST) (envelope-from eugene) Message-Id: <200204191945.WAA18269@kabir.zssm.zp.ua> Date: Fri, 19 Apr 2002 22:45:42 +0300 (EEST) From: Eugene Polovnikov Reply-To: eugene@kabir.zssm.zp.ua To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.2 Subject: kern/37261: kernel is not linking without "device ether" in the config Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 37261 >Category: kern >Synopsis: kernel is not linking without "device ether" in the config >Confidential: yes >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 19 12:50:03 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Eugene Polovnikov >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: >Description: kernel is not linking without "device ether" in the kernel's config >How-To-Repeat: delete "device ether" and all drivers of ethernet NIC's from kernel's config and try to build new kernel >Fix: --- if.c.old Fri Apr 19 22:29:22 2002 +++ if.c Fri Apr 19 22:29:44 2002 @@ -1599,7 +1599,7 @@ ifp->if_flags |= IFF_UP; ifr.ifr_flags = ifp->if_flags; (*ifp->if_ioctl)(ifp, SIOCSIFFLAGS, (caddr_t)&ifr); -#ifdef INET +#if NETHER > 0 /* * Also send gratuitous ARPs to notify other nodes about * the address change. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message