Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 2003 04:47:56 +0200
From:      "Mikko S. Hyvarinen" <morphy@morphy.iki.fi>
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>
In-Reply-To: <20030113022536.GA85390@edgemaster.zombie.org>
References:  <200301122103.h0CL3chU020231@repoman.freebsd.org> <20030113022536.GA85390@edgemaster.zombie.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <morphy@morphy.iki.fi>
> >  =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




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