From owner-cvs-all Sun Jan 12 18:48: 3 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75DF137B401 for ; Sun, 12 Jan 2003 18:48:00 -0800 (PST) Received: from morphy.iki.fi (baana-pppoes-213-139-166-84.suomi.net [213.139.166.84]) by mx1.FreeBSD.org (Postfix) with SMTP id F25F243F13 for ; Sun, 12 Jan 2003 18:47:58 -0800 (PST) (envelope-from morphy@morphy.iki.fi) Received: (qmail 703 invoked by uid 1000); 13 Jan 2003 02:47:56 -0000 Date: Mon, 13 Jan 2003 04:47:56 +0200 From: "Mikko S. Hyvarinen" To: cvs-all@FreeBSD.org Cc: smkelly@zombie.org, obrien@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/mii acphy.c miidevs src/sys/pci if_xl.c if_xlreg.h Message-ID: <20030113024756.GA629@morphy.iki.fi> References: <200301122103.h0CL3chU020231@repoman.freebsd.org> <20030113022536.GA85390@edgemaster.zombie.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20030113022536.GA85390@edgemaster.zombie.org> User-Agent: Mutt/1.4i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jan 12, 2003 at 08:25:36PM -0600, Sean Kelly wrote: > On Sun, Jan 12, 2003 at 01:03:38PM -0800, David E. O'Brien wrote: > > obrien 2003/01/12 13:03:38 PST > >=20 > > Modified files: > > sys/dev/mii miidevs acphy.c=20 > > sys/pci if_xl.c if_xlreg.h=20 > > Log: > > Partial support for the nVidia nForce2 chipset's on-board Broadcom/Al= tima PHY > > and 3com MAC. Specifications for the Altima PHY are available at: > > http://www.altimacom.com/products/ac101L.html > > =20 > > Submitted by: Mikko S. Hyvarinen > > =20 > > Revision Changes Path > > 1.11 +3 -0 src/sys/dev/mii/acphy.c > > 1.22 +1 -0 src/sys/dev/mii/miidevs > > 1.121 +2 -0 src/sys/pci/if_xl.c > > 1.41 +1 -0 src/sys/pci/if_xlreg.h >=20 > I am no longer able to buildkernel. >=20 > cc -c -O -pipe -mcpu=3Dpentiumpro -Wall -Wredundant-decls -Wnested-extern= s -Wstric > t-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -= fformat-extensions -ansi -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sy= s/dev -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -D_= KERNEL -include opt_global.h -fno-common -mno-align-long-strings -mpreferr= ed-stack-boundary=3D2 -ffreestanding -Werror /usr/src/sys/dev/mii/acphy.c > /usr/src/sys/dev/mii/acphy.c: In function `acphy_probe': > /usr/src/sys/dev/mii/acphy.c:133: `MII_MODEL_xxALTIMA_AC101L' undeclared = (first use in this function) > /usr/src/sys/dev/mii/acphy.c:133: (Each undeclared identifier is reported= only once > /usr/src/sys/dev/mii/acphy.c:133: for each function it appears in.) > /usr/src/sys/dev/mii/acphy.c:134: `MII_STR_xxALTIMA_AC101L' undeclared (f= irst use in this function) > *** Error code 1 >=20 > This is with: > ... > device pci > ... > device miibus > device xl > ... >=20 > I can't seem to find what contains/generates the needed identifiers. sys/dev/mii/miidevs.h needs to be re-generated from miidevs You can do this manually by removing miidevs.h and letting the Makefile.mii= devs regenerate it in the course of a kernel build. Regards, MSH --=20 All opinions expressed above are mine alone and do not express the views of my employer or any other organizations that I am affiliated with. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message