Discussion:
[netbsd-9] ipgphy breaks without ukphy
(too old to reply)
Hauke Fath
2019-12-10 13:43:49 UTC
Permalink
All,

since this change to sys/dev/mii/ipgphy.c on netbsd-9

1.3 (msaitoh 14-Nov-19): /* For IP1000A, use generic way */
1.3 (msaitoh 14-Nov-19): if (sc->mii_mpd_model ==
MII_MODEL_xxICPLUS_IP1000A) {
1.3 (msaitoh 14-Nov-19): ukphy_status(sc);
1.3 (msaitoh 14-Nov-19): return;
1.3 (msaitoh 14-Nov-19): }

a kernel configured with ipgphy, but no ukphy errors out with

[...]
# link HP2170P/netbsd
/local/netbsd-builds/9/amd64/tools/bin/x86_64--netbsd-ld -Map netbsd.map
--cref -T netbsd.ldscript -Ttext 0xffffffff80200000 -e start -z
max-page-size=0x200000 -X -o netbsd ${SYSTEM_OBJ:[@]:Nswapnetbsd.o}
${EXTRA_OBJ} vers.o swapnetbsd.o
/local/netbsd-builds/9/amd64/tools/bin/x86_64--netbsd-ld: ipgphy.o: in
function `ipgphy_status':
/local/source/netbsd-9/src/sys/dev/mii/ipgphy.c:251: undefined reference
to `ukphy_status'
*** [netbsd] Error code 1

Is this known, intended, could the dependency be made explicit?

Cheerio,
hauke
--
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut für Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-21344

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Masanobu SAITOH
2019-12-11 02:23:26 UTC
Permalink
Post by Hauke Fath
All,
since this change to sys/dev/mii/ipgphy.c on netbsd-9
1.3          (msaitoh  14-Nov-19):      /* For IP1000A, use generic way */
1.3          (msaitoh  14-Nov-19):      if (sc->mii_mpd_model == MII_MODEL_xxICPLUS_IP1000A) {
1.3          (msaitoh  14-Nov-19):              ukphy_status(sc);
1.3          (msaitoh  14-Nov-19):              return;
1.3          (msaitoh  14-Nov-19):      }
a kernel configured with ipgphy, but no ukphy errors out with
[...]
#      link  HP2170P/netbsd
/local/source/netbsd-9/src/sys/dev/mii/ipgphy.c:251: undefined reference to `ukphy_status'
*** [netbsd] Error code 1
Is this known, intended, could the dependency be made explicit?
Fixed by files.mii rev. 1.54 (and will be pulled up to netbsd-9).

Thanks!
Post by Hauke Fath
Cheerio,
hauke
--
-----------------------------------------------
SAITOH Masanobu (***@execsw.org
***@netbsd.org)

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...