From owner-freebsd-current@FreeBSD.ORG Thu Sep 30 00:55:07 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 800EB16A4CE for ; Thu, 30 Sep 2004 00:55:07 +0000 (GMT) Received: from smtp1.adl2.internode.on.net (smtp1.adl2.internode.on.net [203.16.214.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B69243D4C for ; Thu, 30 Sep 2004 00:55:01 +0000 (GMT) (envelope-from smckay@internode.on.net) Received: from dungeon.home (ppp238-227.lns1.bne3.internode.on.net [203.122.238.227])i8U0sr4Y017030; Thu, 30 Sep 2004 10:24:53 +0930 (CST) Received: from dungeon.home (localhost [127.0.0.1]) by dungeon.home (8.12.8p2/8.11.6) with ESMTP id i8U0srL6006761; Thu, 30 Sep 2004 10:54:53 +1000 (EST) (envelope-from mckay) Message-Id: <200409300054.i8U0srL6006761@dungeon.home> To: Savchuk Taras References: <002b01c4a576$9b65f1d0$82fda3d1@sanmarcos.x25.net> <200409282025.04107.taras-s-y@mail.ru> <200409290609.i8T69wZD008877@dungeon.home> <200409300018.14616.taras-s-y@mail.ru> In-Reply-To: <200409300018.14616.taras-s-y@mail.ru> from Savchuk Taras at "Thu, 30 Sep 2004 00:18:14 +0000" Date: Thu, 30 Sep 2004 10:54:53 +1000 From: Stephen McKay cc: freebsd-current@freebsd.org cc: Stephen McKay Subject: Re: dc0 acting up X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Sep 2004 00:55:07 -0000 On Thursday, 30th September 2004, Savchuk Taras wrote: >I have made changes in "sys/pci/if_dc.c" as you said and have had this outout >during "buildkernel": >------------------------------------------------------------------------------------------------------------------------------------ >n-long-strings -mpreferred-stack-boundary=2 -ffreestanding >-Werror /usr/src/sys/pci/if_dc.c >/usr/src/sys/pci/if_dc.c: In function `dc_setcfg': >/usr/src/sys/pci/if_dc.c:1369: warning: unused variable `i' >/usr/src/sys/pci/if_dc.c:1370: warning: unused variable `isr' >*** Error code 1 Sorry about that chief. It seems like warnings are fatal nowadays. To satisfy the compiler you would also have to delete (or comment out) the declarations for "i" and "isr" up a few lines at 1369 and 1370. Stephen.