Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 2006 06:11:11 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        John Baldwin <jhb@freebsd.org>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/pci if_dc.c if_dcreg.h
Message-ID:  <20060622031111.GA5115@deviant.kiev.zoral.com.ua>
In-Reply-To: <200606212103.k5LL3OsA040402@repoman.freebsd.org>
References:  <200606212103.k5LL3OsA040402@repoman.freebsd.org>

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

--k+w/mQv8wyuph6w0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jun 21, 2006 at 09:03:24PM +0000, John Baldwin wrote:
> jhb         2006-06-21 21:03:24 UTC
>=20
>   FreeBSD src repository
>=20
>   Modified files:        (Branch: RELENG_6)
>     sys/pci              if_dc.c if_dcreg.h=20
>   Log:
>   MFC various cleanups:
>   - Switch on the full 32-bit device ID to avoid collisions between the
>     vendor-specific device ids across vendors.
>   - Include the revision in the dc_devs[] array instead of special casing
>     the revid handling in dc_devtype().
>   - Use PCI bus accessors to read registers instead of pci_read_config()
>     where possible.
>   - Use an 8-bit write to update the latency timer.
>   - Use PCIR_xxx constants and remove unused DC_xxx related to standard
>     PCI config registers.
It seems that file sys/dev/mii/dcphy.c references removed constant from
the if_dcreg.h. That file was removed itself from the CURRENT by imp
several month ago. But it is still alive on RELENG_6.

With the MFC, I got buildkernel errors:

cc -O2 -fno-strict-aliasing -pipe -march=3Dpentiumpro -Werror -D_KERNEL -DK=
LD_MODULE -nostdinc -I-   -DHAVE_KERNEL_OPTION_HEADERS -include /usr/bsd/ob=
j/usr/bsd/src/sys/POOMA/opt_global.h -I. -I@ -I@/contrib/altq -I@/../includ=
e -finline-limit=3D8000 -fno-common -g -I/usr/bsd/obj/usr/bsd/src/sys/POOMA=
 -mno-align-long-strings-mpreferred-stack-boundary=3D2  -mno-mmx -mno-3dnow=
 -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs=
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-=
qual  -fformat-extensions -std=3Dc99 -c /usr/bsd/src/sys/modules/mii/../../=
dev/mii/dcphy.c
/usr/bsd/src/sys/modules/mii/../../dev/mii/dcphy.c: In function `dcphy_atta=
ch':
/usr/bsd/src/sys/modules/mii/../../dev/mii/dcphy.c:172: error: `DC_PCI_CSID=
' undeclared (first use in this function)
/usr/bsd/src/sys/modules/mii/../../dev/mii/dcphy.c:172: error: (Each undecl=
ared identifier is reported only once
/usr/bsd/src/sys/modules/mii/../../dev/mii/dcphy.c:172: error: for each fun=
ction it appears in.)
*** Error code 1

Stop in /usr/bsd/src/sys/modules/mii.

--k+w/mQv8wyuph6w0
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFEmgpOC3+MBN1Mb4gRAodWAKCsNRJNTMkARJhOMvWkU+dOEw5bdQCeO8El
5y1v55/vuj8v6pmo+Q6//bk=
=8TOX
-----END PGP SIGNATURE-----

--k+w/mQv8wyuph6w0--



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