Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Oct 2013 14:27:53 +0200
From:      Berislav Purgar <bpurgar@gmail.com>
To:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   AVILA npe problem ?
Message-ID:  <CAAUsrB5R-9SPCp4MZiy-zhWgWTLALGAVHNHb5Vazdgaw1FE2Lw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello .. me again :)
Is there a way to get right PHY for npe0 on GW2345-F board for switch to
work? This board have switch (KS8995) with 4 LAN ports and one WAN port
(npe0 npe1) .. I got PHY for WAN (npe1 PHY=5) from openwrt but on openwrt
for npe0 PHY is 32 (freebsd support PHY to 31 ? ).
If i put PHY=2 port 2 on switch is active but ports 1 3 4  no .. PHY=4 is
for port 4 on switch but no 1 2 3, so is there way to get right PHY for all
ports  ??

Some examples:

PHY=0 for npe0 (default AVILA.hints)

ixpqmgr0: <IXP4XX Q-Manager> on
ixp0
npe0: <IXP NPE-B> on
ixp0
npe0: MAC at
0xc8009000
npe0: MII at
0xc8009000
npe0: load fw image IXP425.NPE-B Func 0x2 Rev
2.1
npe0: attaching PHYs
failed
npe0: cannot activate
npe
device_attach: npe0 attach returned
6
npe1: <IXP NPE-C> on
ixp0
npe1: MAC at
0xc800a000
npe1: MII at
0xc8009000
npe1: load fw image IXP425.NPE-C Func 0x5 Rev
2.1
miibus0: <MII bus> on
npe1
ukphy0: <Generic IEEE 802.3u media interface> PHY 5 on
miibus0
ukphy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
auto
npe1: Ethernet address: 00:d0:12:13:59:23

and PHY=2 for npe0 (only port 2 is active on switch)

uart1: <Non-standard ns8250 class UART with FIFOs> on
ixp0
ixpqmgr0: <IXP4XX Q-Manager> on
ixp0
npe0: <IXP NPE-B> on
ixp0
npe0: MAC at
0xc8009000
npe0: MII at
0xc8009000
npe0: load fw image IXP425.NPE-B Func 0x2 Rev
2.1
miibus0: <MII bus> on
npe0
ukphy0: <Generic IEEE 802.3u media interface> PHY 2 on
miibus0
ukphy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
auto
npe0: Ethernet address:
00:d0:12:03:59:23
npe1: <IXP NPE-C> on
ixp0
npe1: MAC at
0xc800a000
npe1: MII at
0xc8009000
npe1: load fw image IXP425.NPE-C Func 0x5 Rev
2.1
miibus1: <MII bus> on
npe1
ukphy1: <Generic IEEE 802.3u media interface> PHY 5 on
miibus1
ukphy1:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
auto
npe1: Ethernet address: 00:d0:12:13:59:23

Beri



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAUsrB5R-9SPCp4MZiy-zhWgWTLALGAVHNHb5Vazdgaw1FE2Lw>