This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
The CYGPKG_DEVS_ETH_ARM_AT91_PHYADDR setting seem's to be not needed
- From: "Oliver Munz @ SNR" <oli at snr dot ch>
- To: "ecos-discuss at sourceware dot org >> \"ecos-discuss at sourceware dot org\"" <ecos-discuss at sourceware dot org>
- Date: Thu, 23 Oct 2008 03:53:58 +0200
- Subject: [ECOS] The CYGPKG_DEVS_ETH_ARM_AT91_PHYADDR setting seem's to be not needed
- Reply-to: oli at snr dot ch
In the AT91-Ethernet-Driver is the parameter
CYGPKG_DEVS_ETH_ARM_AT91_PHYADDR. It should hold the MDC/MDIO-addres of
the Ethernet-PHY. But no matter wich value i write, the lwIP sees my PHY
every time. Furtermore the lwIP says, he find my PHY on the addr 0,
while the datasheet of the PHY say's one can config the address between
1..7.
Now my quistions:
1. Is addr 0 a kind of broadcast and works with any PHY no matter how
its configured?
2. Is it wrong, that if i set CYGPKG_DEVS_ETH_ARM_AT91_PHYADDR to 7, the
lwIP-initialisation says look at addr 0 (see printout)?
AT91_ETH: Initialising @ fffdc000
AT91_ETH: Installing Interrupts on IRQ 16
AT91_ETH - Warning! ESA unknown
AT91_ETH: 12:34:56:78:9a:bc
PHY: Micrel KSZ8041 at addr 0
ksz8041_stat(): phy_addr: 0
... waiting for auto-negotiation
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss